2014-09-11 20:17:45 +01:00
|
|
|
{ stdenv, agda, fetchurl, ghc, filemanip }:
|
2014-05-03 01:15:38 +01:00
|
|
|
|
2014-09-01 01:31:17 +01:00
|
|
|
agda.mkDerivation (self: rec {
|
|
|
|
name = "Agda-stdlib";
|
2014-08-31 19:26:05 +01:00
|
|
|
version = "0.8.1";
|
2014-05-03 01:15:38 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-06-17 07:09:04 +01:00
|
|
|
url = "https://github.com/agda/agda-stdlib/archive/v${version}.tar.gz";
|
2014-08-31 19:26:05 +01:00
|
|
|
sha256 = "0ij4rg4lk0pq01ing285gbmnn23dcf2rhihdcs8bbdpjg52vl4gf";
|
2014-05-03 01:15:38 +01:00
|
|
|
};
|
|
|
|
|
2014-09-11 20:17:45 +01:00
|
|
|
buildInputs = [ filemanip ghc ];
|
2014-09-01 01:31:17 +01:00
|
|
|
preConfigure = ''
|
2014-09-11 20:17:45 +01:00
|
|
|
runhaskell GenerateEverything.hs
|
2014-05-03 01:15:38 +01:00
|
|
|
'';
|
|
|
|
|
2014-09-01 01:31:17 +01:00
|
|
|
topSourceDirectories = [ "src" ];
|
|
|
|
|
2014-09-04 23:05:52 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-03 01:15:38 +01:00
|
|
|
homepage = "http://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary";
|
|
|
|
description = "A standard library for use with the Agda compiler.";
|
2014-09-11 20:17:45 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-10-15 01:02:03 +01:00
|
|
|
maintainers = with maintainers; [ jwiegley fuuzetsu ];
|
2014-05-03 01:15:38 +01:00
|
|
|
};
|
2014-09-04 23:05:52 +01:00
|
|
|
})
|