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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.0 KiB
Nix
Raw Normal View History

{
lib,
mkDerivation,
fetchFromGitHub,
ghcWithPackages,
nixosTests,
}:
2019-12-29 12:14:16 +00:00
mkDerivation rec {
pname = "standard-library";
version = "2.1.1";
src = fetchFromGitHub {
repo = "agda-stdlib";
owner = "agda";
rev = "v${version}";
hash = "sha256-4HfwNAkIhk1yC/oSxZ30xilzUM5/22nzbUSqTjcW5Ng=";
};
nativeBuildInputs = [ (ghcWithPackages (self: [ self.filemanip ])) ];
preConfigure = ''
runhaskell GenerateEverything.hs --include-deprecated
# We will only build/consider Everything.agda, in particular we don't want Everything*.agda
# do be copied to the store.
rm EverythingSafe.agda
'';
passthru.tests = { inherit (nixosTests) agda; };
meta = with lib; {
homepage = "https://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary";
2014-11-11 13:20:43 +00:00
description = "Standard library for use with the Agda compiler";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
2020-05-14 19:50:00 +00:00
maintainers = with maintainers; [
jwiegley
mudri
alexarice
turion
];
};
2019-12-29 12:14:16 +00:00
}