29 lines
860 B
Nix
29 lines
860 B
Nix
{ stdenv, agda, fetchFromGitHub, ghcWithPackages }:
|
|
|
|
agda.mkDerivation (self: rec {
|
|
version = "1.0";
|
|
name = "agda-stdlib-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "agda-stdlib";
|
|
owner = "agda";
|
|
rev = "v${version}";
|
|
sha256 = "19qrdfi0vig3msqg76k1zf5j3vav0jz44cvj6i4dyfbscdwf2l9c";
|
|
};
|
|
|
|
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
|
|
preConfigure = ''
|
|
runhaskell GenerateEverything.hs
|
|
'';
|
|
|
|
topSourceDirectories = [ "src" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary;
|
|
description = "A standard library for use with the Agda compiler";
|
|
license = stdenv.lib.licenses.mit;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
broken = stdenv.isDarwin;
|
|
maintainers = with maintainers; [ jwiegley fuuzetsu mudri ];
|
|
};
|
|
})
|