nixpkgs/pkgs/development/libraries/agda/standard-library/default.nix

27 lines
794 B
Nix
Raw Normal View History

2019-12-29 12:14:16 +00:00
{ stdenv, mkDerivation, fetchFromGitHub, ghcWithPackages }:
2019-12-29 12:14:16 +00:00
mkDerivation rec {
pname = "standard-library";
2020-01-05 23:34:35 +00:00
version = "1.3";
src = fetchFromGitHub {
repo = "agda-stdlib";
owner = "agda";
rev = "v${version}";
2020-01-05 23:34:35 +00:00
sha256 = "18kl20z3bjfgx5m3nvrdj5776qmpi7jl2p12pqybsls2lf86m0d5";
};
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
preConfigure = ''
runhaskell GenerateEverything.hs
'';
2014-09-04 23:05:52 +01:00
meta = with stdenv.lib; {
homepage = "https://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";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
2020-05-14 20:50:00 +01:00
maintainers = with maintainers; [ jwiegley mudri alexarice turion ];
};
2019-12-29 12:14:16 +00:00
}