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 {
|
2014-11-17 16:46:58 +00:00
|
|
|
version = "0.9";
|
|
|
|
name = "Agda-stdlib-${version}";
|
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-11-17 16:46:58 +00:00
|
|
|
sha256 = "05rpmd2xra8wygq33mahdmijcjwq132l1akqyzj66n13frw4hfwj";
|
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";
|
2014-11-11 13:20:43 +00:00
|
|
|
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
|
|
|
})
|