nixpkgs/pkgs/development/compilers/agda/stdlib.nix

27 lines
778 B
Nix
Raw Normal View History

{ stdenv, agda, fetchurl, ghc, filemanip }:
agda.mkDerivation (self: rec {
version = "0.9";
name = "Agda-stdlib-${version}";
src = fetchurl {
url = "https://github.com/agda/agda-stdlib/archive/v${version}.tar.gz";
sha256 = "05rpmd2xra8wygq33mahdmijcjwq132l1akqyzj66n13frw4hfwj";
};
buildInputs = [ filemanip ghc ];
preConfigure = ''
runhaskell GenerateEverything.hs
'';
topSourceDirectories = [ "src" ];
2014-09-04 22:05:52 +00: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;
2014-10-15 00:02:03 +00:00
maintainers = with maintainers; [ jwiegley fuuzetsu ];
};
2014-09-04 22:05:52 +00:00
})