3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/agda/stdlib.nix
Domen Kožar f9ba413b55 fix eval
2014-09-05 00:06:11 +02:00

28 lines
734 B
Nix

{ stdenv, agda, fetchurl, ghcWithPackages }:
let
ghc = ghcWithPackages (s: [ s.filemanip ]);
in
agda.mkDerivation (self: rec {
name = "Agda-stdlib";
version = "0.8.1";
src = fetchurl {
url = "https://github.com/agda/agda-stdlib/archive/v${version}.tar.gz";
sha256 = "0ij4rg4lk0pq01ing285gbmnn23dcf2rhihdcs8bbdpjg52vl4gf";
};
preConfigure = ''
${ghc}/bin/runhaskell GenerateEverything.hs
'';
topSourceDirectories = [ "src" ];
meta = with stdenv.lib; {
homepage = "http://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary";
description = "A standard library for use with the Agda compiler.";
license = "unknown";
maintainers = with maintainers; [ jwiegley ];
};
})