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

29 lines
831 B
Nix
Raw Normal View History

{ stdenv, agda, fetchFromGitHub, ghcWithPackages }:
agda.mkDerivation (self: rec {
2017-09-26 19:35:11 +00:00
version = "0.14";
name = "agda-stdlib-${version}";
src = fetchFromGitHub {
repo = "agda-stdlib";
owner = "agda";
rev = "v${version}";
2017-09-26 19:35:11 +00:00
sha256 = "0qx72w6lwskp18q608f95j5dcxb9xr4q4mzdkxp01sgib8v2v56l";
};
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;
maintainers = with maintainers; [ jwiegley fuuzetsu mudri ];
};
2014-09-04 22:05:52 +00:00
})