2016-05-23 08:07:02 +01:00
|
|
|
{ stdenv, agda, fetchgit, ghcWithPackages }:
|
2014-05-03 01:15:38 +01:00
|
|
|
|
2014-09-01 01:31:17 +01:00
|
|
|
agda.mkDerivation (self: rec {
|
2016-05-23 08:07:02 +01:00
|
|
|
version = "2.4.2.3";
|
2015-04-05 02:49:07 +01:00
|
|
|
name = "agda-stdlib-${version}";
|
2014-05-03 01:15:38 +01:00
|
|
|
|
2016-05-23 08:07:02 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://github.com/agda/agda-stdlib";
|
|
|
|
rev = "9c9b3cb28f9a7d39a256890a1469c1a3f7fc4faf";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "1h64wzm4ysmq3gi33w3kp9h3f471sydpp453yf95bh5f713a8bxk";
|
2014-05-03 01:15:38 +01:00
|
|
|
};
|
|
|
|
|
2015-04-05 02:49:07 +01:00
|
|
|
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
|
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;
|
2016-05-23 08:07:02 +01:00
|
|
|
maintainers = with maintainers; [ jwiegley fuuzetsu ];
|
2014-05-03 01:15:38 +01:00
|
|
|
};
|
2014-09-04 23:05:52 +01:00
|
|
|
})
|