2014-09-11 21:17:45 +02:00
|
|
|
{ stdenv, agda, fetchurl, ghc, filemanip }:
|
2014-05-03 02:15:38 +02:00
|
|
|
|
2014-09-01 02:31:17 +02:00
|
|
|
agda.mkDerivation (self: rec {
|
2014-11-17 17:46:58 +01:00
|
|
|
version = "0.9";
|
|
|
|
name = "Agda-stdlib-${version}";
|
2014-05-03 02:15:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-06-17 08:09:04 +02:00
|
|
|
url = "https://github.com/agda/agda-stdlib/archive/v${version}.tar.gz";
|
2014-11-17 17:46:58 +01:00
|
|
|
sha256 = "05rpmd2xra8wygq33mahdmijcjwq132l1akqyzj66n13frw4hfwj";
|
2014-05-03 02:15:38 +02:00
|
|
|
};
|
|
|
|
|
2014-09-11 21:17:45 +02:00
|
|
|
buildInputs = [ filemanip ghc ];
|
2014-09-01 02:31:17 +02:00
|
|
|
preConfigure = ''
|
2014-09-11 21:17:45 +02:00
|
|
|
runhaskell GenerateEverything.hs
|
2014-05-03 02:15:38 +02:00
|
|
|
'';
|
|
|
|
|
2014-09-01 02:31:17 +02:00
|
|
|
topSourceDirectories = [ "src" ];
|
|
|
|
|
2014-09-05 00:05:52 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-03 02:15:38 +02:00
|
|
|
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";
|
2014-09-11 21:17:45 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-10-15 02:02:03 +02:00
|
|
|
maintainers = with maintainers; [ jwiegley fuuzetsu ];
|
2014-05-03 02:15:38 +02:00
|
|
|
};
|
2014-09-05 00:05:52 +02:00
|
|
|
})
|