Add wl-pprint Idris package.
This commit is contained in:
parent
a01c7b5a15
commit
0dce60b34d
2 changed files with 14 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, idris }: argf: let args = {
|
||||
{ stdenv, idris, gmp }: argf: let args = {
|
||||
preHook = ''
|
||||
mkdir idris-libs
|
||||
export IDRIS_LIBRARY_PATH=$PWD/idris-libs
|
||||
|
@ -31,4 +31,6 @@
|
|||
installPhase = ''
|
||||
${idris}/bin/idris --install *.ipkg
|
||||
'';
|
||||
|
||||
buildInputs = [ gmp ];
|
||||
}; in stdenv.mkDerivation (args // (argf args))
|
||||
|
|
11
pkgs/development/idris-modules/wl-pprint.nix
Normal file
11
pkgs/development/idris-modules/wl-pprint.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ build-idris-package, fetchgit, prelude, base }: build-idris-package (args : {
|
||||
name = "wl-pprint";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/shayan-najd/wl-pprint.git";
|
||||
rev = "120f654b0b9838b57e10b163d3562d959439fb07";
|
||||
sha256 = "b5d02a9191973dd8915279e84a9b4df430eb252f429327f45eb8a047d8bb954d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ prelude base ];
|
||||
})
|
Loading…
Reference in a new issue