3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/agda/agda-stdlib/default.nix

28 lines
846 B
Nix
Raw Normal View History

{ stdenv, agda, fetchgit, ghcWithPackages }:
agda.mkDerivation (self: rec {
version = "2.4.2.3";
name = "agda-stdlib-${version}";
src = fetchgit {
url = "git://github.com/agda/agda-stdlib";
rev = "9c9b3cb28f9a7d39a256890a1469c1a3f7fc4faf";
sha256 = "1h64wzm4ysmq3gi33w3kp9h3f471sydpp453yf95bh5f713a8bxk";
};
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
preConfigure = ''
runhaskell GenerateEverything.hs
'';
topSourceDirectories = [ "src" ];
2014-09-04 23:05:52 +01:00
meta = with stdenv.lib; {
homepage = "http://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary";
2014-11-11 13:20:43 +00:00
description = "A standard library for use with the Agda compiler";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = with maintainers; [ jwiegley fuuzetsu ];
};
2014-09-04 23:05:52 +01:00
})