mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
Merge pull request #2474 from jwiegley/agda-stdlib
Add expression for the Agda standard library
This commit is contained in:
commit
801a4818c8
26
pkgs/development/compilers/Agda-stdlib/default.nix
Normal file
26
pkgs/development/compilers/Agda-stdlib/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ 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 ];
|
||||
};
|
||||
})
|
|
@ -2923,6 +2923,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
|||
|
||||
AgdaExecutable = callPackage ../development/compilers/Agda-executable {};
|
||||
|
||||
AgdaStdLib = callPackage ../development/compilers/Agda-stdlib {};
|
||||
|
||||
uhc = callPackage ../development/compilers/uhc {};
|
||||
|
||||
epic = callPackage ../development/compilers/epic {};
|
||||
|
|
Loading…
Reference in a new issue