summary refs log tree commit diff
path: root/pkgs/development/idris-modules/graphviz.nix
blob: 3ea20d3d906e9e7410c504196dc6cbb4a34f13c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ 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;
  };
}