29 lines
833 B
Nix
29 lines
833 B
Nix
{ stdenv, agda, fetchFromGitHub, ghcWithPackages }:
|
|
|
|
agda.mkDerivation (self: rec {
|
|
version = "0.12";
|
|
name = "agda-stdlib-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "agda-stdlib";
|
|
owner = "agda";
|
|
rev = "v${version}";
|
|
sha256 = "1n5hn3xa0bqyq8rjvfsfmh6z3l8rr4z3s7gyfmf3kiv9f235bnd2";
|
|
};
|
|
|
|
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;
|
|
maintainers = with maintainers; [ jwiegley fuuzetsu mudri ];
|
|
};
|
|
})
|