2016-06-07 11:52:55 +02:00
|
|
|
{ stdenv, agda, fetchFromGitHub, ghcWithPackages }:
|
2014-05-03 02:15:38 +02:00
|
|
|
|
2014-09-01 02:31:17 +02:00
|
|
|
agda.mkDerivation (self: rec {
|
2019-08-17 21:04:13 +02:00
|
|
|
version = "1.1";
|
2015-04-05 03:49:07 +02:00
|
|
|
name = "agda-stdlib-${version}";
|
2014-05-03 02:15:38 +02:00
|
|
|
|
2016-06-07 11:52:55 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "agda-stdlib";
|
|
|
|
owner = "agda";
|
|
|
|
rev = "v${version}";
|
2019-08-17 21:04:13 +02:00
|
|
|
sha256 = "190bxsy92ffmvwpmyyg3lxs91vyss2z25rqz1w79gkj56484cy64";
|
2014-05-03 02:15:38 +02:00
|
|
|
};
|
|
|
|
|
2015-04-05 03:49:07 +02:00
|
|
|
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
|
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; {
|
2017-08-01 22:03:30 +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;
|
2018-06-23 23:47:52 +02:00
|
|
|
broken = stdenv.isDarwin;
|
2016-06-07 11:52:55 +02:00
|
|
|
maintainers = with maintainers; [ jwiegley fuuzetsu mudri ];
|
2014-05-03 02:15:38 +02:00
|
|
|
};
|
2014-09-05 00:05:52 +02:00
|
|
|
})
|