nixpkgs/pkgs/development/compilers/agda/agda-stdlib.nix
Peter Simons 64d662e056 Agda: move compiler and standard library into a common directory
Also renamed AgdaStdLib attribute to AgdaStdlib, since upstream doesn't
seem to capitalize that name.
2014-05-03 12:37:17 +02:00

26 lines
No EOL
683 B
Nix

{ cabal, fetchurl }:
cabal.mkDerivation (self: {
pname = "Agda-stdlib";
version = "0.7";
src = fetchurl {
url = "http://www.cse.chalmers.se/~nad/software/lib-0.7.tar.gz";
sha256 = "1ynjgqk8hhnm6rbngy8fjsrd6i4phj2hlan9bk435bbywbl366k3";
};
preConfigure = "cd ffi";
postInstall = ''
mkdir -p $out/share
cp -pR ../src $out/share/agda
'';
meta = {
homepage = "http://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary";
description = "A standard library for use with the Agda compiler.";
license = "unknown";
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.jwiegley ];
};
})