nixpkgs/pkgs/development/libraries/agda/agda-stdlib/default.nix

30 lines
861 B
Nix
Raw Normal View History

{ stdenv, agda, fetchFromGitHub, ghcWithPackages }:
agda.mkDerivation (self: rec {
version = "0.17";
name = "agda-stdlib-${version}";
src = fetchFromGitHub {
repo = "agda-stdlib";
owner = "agda";
rev = "v${version}";
sha256 = "05c5zgj9fcaqz7z2l70jh48b3g4811vm7bccj0vd9r82wi02g3p1";
};
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
preConfigure = ''
runhaskell GenerateEverything.hs
'';
topSourceDirectories = [ "src" ];
2014-09-04 22:05:52 +00:00
meta = with stdenv.lib; {
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";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
2018-06-23 21:47:52 +00:00
broken = stdenv.isDarwin;
maintainers = with maintainers; [ jwiegley fuuzetsu mudri ];
};
2014-09-04 22:05:52 +00:00
})