summary refs log tree commit diff
path: root/pkgs/development/idris-modules/wl-pprint.nix
blob: 66dd4cefe4821a318d652a8d0de324f32020f1b2 (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
{ build-idris-package
, fetchFromGitHub
, prelude
, base
, lib
, idris
}: build-idris-package {
  name = "wl-pprint";

  src = fetchFromGitHub {
    owner = "shayan-najd";
    repo = "wl-pprint";
    rev = "120f654b0b9838b57e10b163d3562d959439fb07";
    sha256 = "1yymdl251zla6hv9rcg06x73gbp6xb0n6f6a02bsy5fqfmrfngcl";
  };

  propagatedBuildInputs = [ prelude base ];

  meta = {
    description = "Wadler-Leijen pretty-printing library";

    homepage = https://github.com/shayan-najd/wl-pprint;

    license = lib.licenses.bsd2;

    inherit (idris.meta) platforms;
  };
}