nixpkgs-suyu/pkgs/development/idris-modules/wl-pprint.nix
Matthew Pickering 947e7d80b4 Refactor Idris packaging infrastructure
The main two changes are

1. Completely rewrite how with-packages works to remove use of envHooks
2. The package description is now an idris specific set rather than
    being a subset of the arguments to mkDerivation. This mirrors the
    way Haskell packages are treated.
2018-02-07 19:25:50 +00:00

31 lines
717 B
Nix

{ build-idris-package
, fetchFromGitHub
, prelude
, base
, lib
, idris
}:
build-idris-package {
pkName = "wl-pprint";
version = "2016-09-28";
src = fetchFromGitHub {
owner = "shayan-najd";
repo = "wl-pprint";
rev = "4cc88a0865620a3b997863e4167d3b98e1a41b52";
sha256 = "1yxxh366k5njad75r0xci2q5c554cddvzgrwk43b0xn8rq0vm11x";
};
# The tests for this package fail. We should attempt to enable them when
# updating this package again.
doCheck = false;
idrisDeps = [ 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;
};
}