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