mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
947e7d80b4
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.
32 lines
717 B
Nix
32 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;
|
|
};
|
|
}
|