nixpkgs/pkgs/development/idris-modules/graphviz.nix
2018-03-20 07:16:21 +01:00

33 lines
756 B
Nix

{ build-idris-package
, fetchFromGitLab
, prelude
, lightyear
, lib
, idris
}:
build-idris-package {
name = "graphviz";
version = "2017-01-16";
idrisDeps = [ prelude lightyear ];
src = fetchFromGitLab {
owner = "mgttlinger";
repo = "idris-graphviz";
rev = "805da92ac888530134c3b4090fae0d025d86bb05";
sha256 = "12kzgjlwq6adflfc5zxpgjnaiszhiab6dcp878ysbz3zr2sihljx";
};
postUnpack = ''
sed -i "/^author /cauthor = Merlin Goettlinger" source/graphviz.ipkg
'';
meta = {
description = "Parser and library for graphviz dot files";
homepage = https://github.com/mgttlinger/idris-graphviz;
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.brainrape ];
inherit (idris.meta) platforms;
};
}