2020-05-15 21:57:56 +00:00
|
|
|
{ stdenv, mkDerivation, fetchFromGitHub, ghcWithPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "standard-library";
|
2020-10-27 00:29:36 +00:00
|
|
|
version = "1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "agda-stdlib";
|
|
|
|
owner = "agda";
|
|
|
|
rev = "v${version}";
|
2020-10-27 00:29:36 +00:00
|
|
|
sha256 = "1asjbisb7pfkgzqy7gf9b23z63bba8l8p1wqfd6ff5ddgqwj3dhp";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
|
|
|
|
preConfigure = ''
|
|
|
|
runhaskell GenerateEverything.hs
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-05-03 17:38:23 +00:00
|
|
|
homepage = "https://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A standard library for use with the Agda compiler";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2020-05-15 21:57:56 +00:00
|
|
|
maintainers = with maintainers; [ jwiegley mudri alexarice turion ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-05-15 21:57:56 +00:00
|
|
|
}
|