Add wl-pprint Idris package.

This commit is contained in:
Shea Levy 2015-11-27 11:03:04 -05:00
parent a01c7b5a15
commit 0dce60b34d
2 changed files with 14 additions and 1 deletions

View file

@ -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))

View 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 ];
})