nixpkgs-suyu/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-05 00:05:52 +02:00
meta = with stdenv.lib; {
homepage = "http://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary";
2014-11-11 14:20:43 +01:00
description = "A standard library for use with the Agda compiler";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
2014-10-15 02:02:03 +02:00
maintainers = with maintainers; [ jwiegley fuuzetsu ];
};
2014-09-05 00:05:52 +02:00
})