forked from mirrors/nixpkgs
Merge pull request #15595 from laMudri/agda-stdlib
Agda: 2.4.2.3 -> 2.5.1
This commit is contained in:
commit
ce4f6c215f
|
@ -847,13 +847,22 @@ self: {
|
|||
];
|
||||
executableToolDepends = [ emacs ];
|
||||
postInstall = ''
|
||||
$out/bin/agda -c --no-main $(find $out/share -name Primitive.agda)
|
||||
# Separate loops to avoid internal error
|
||||
files=($out/share/*-ghc-*/Agda-*/lib/prim/Agda/{Primitive.agda,Builtin/*.agda})
|
||||
for f in "''${files[@]}"
|
||||
do
|
||||
$out/bin/agda $f
|
||||
done
|
||||
for f in "''${files[@]}"
|
||||
do
|
||||
$out/bin/agda -c --no-main $f
|
||||
done
|
||||
$out/bin/agda-mode compile
|
||||
'';
|
||||
homepage = "http://wiki.portal.chalmers.se/agda/";
|
||||
description = "A dependently typed functional programming language and proof assistant";
|
||||
license = "unknown";
|
||||
maintainers = with stdenv.lib.maintainers; [ abbradar ];
|
||||
maintainers = with stdenv.lib.maintainers; [ abbradar mudri ];
|
||||
}) {inherit (pkgs) emacs;};
|
||||
|
||||
"Agda-executable" = callPackage
|
||||
|
|
|
@ -19,5 +19,6 @@ agda.mkDerivation (self: rec {
|
|||
license = stdenv.lib.licenses.cc-by-40;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
||||
broken = true; # replaced by constructive-sheaf-semantics
|
||||
};
|
||||
})
|
||||
})
|
||||
|
|
|
@ -21,5 +21,6 @@ agda.mkDerivation (self: rec {
|
|||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with maintainers; [ fuuzetsu ];
|
||||
broken = true;
|
||||
};
|
||||
})
|
||||
|
|
|
@ -18,5 +18,6 @@ agda.mkDerivation (self: rec {
|
|||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
||||
broken = true; # largely replaced by HoTT-Agda
|
||||
};
|
||||
})
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{ stdenv, agda, fetchgit }:
|
||||
|
||||
agda.mkDerivation (self: rec {
|
||||
version = "d598f35d88596c5a63766a7188a0c0144e467c8c";
|
||||
version = "0dca24a81d417db2ae8fc871eccb7776f7eae952";
|
||||
name = "agda-prelude-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/UlfNorell/agda-prelude.git";
|
||||
rev = version;
|
||||
sha256 = "bdcffb675d0ad1bafa2b47f581b6a9b90347ae739b6218f89f365fda2cc4f8c8";
|
||||
sha256 = "0gwfgvj96i1mx5v01bi46h567d1q1fbgvzv6z8zv91l2jhybwff5";
|
||||
};
|
||||
|
||||
topSourceDirectories = [ "src" ];
|
||||
|
@ -18,6 +18,6 @@ agda.mkDerivation (self: rec {
|
|||
description = "Programming library for Agda";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with maintainers; [ fuuzetsu ];
|
||||
maintainers = with maintainers; [ fuuzetsu mudri ];
|
||||
};
|
||||
})
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
{ stdenv, agda, fetchgit, ghcWithPackages }:
|
||||
{ stdenv, agda, fetchurl, ghcWithPackages }:
|
||||
|
||||
agda.mkDerivation (self: rec {
|
||||
version = "2.4.2.3";
|
||||
version = "v0.12";
|
||||
name = "agda-stdlib-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/agda/agda-stdlib";
|
||||
rev = "9c9b3cb28f9a7d39a256890a1469c1a3f7fc4faf";
|
||||
sha256 = "521899b820e70abbae7cb30008b87a2f8676bc6265b78865e42982fc2e5c972f";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/agda/agda-stdlib/archive/${version}.tar.gz";
|
||||
sha256 = "11qf87hxx3g0n8i6nkp4vqvh3i0gal6g812p0w2n4k7711nvrp9g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
|
||||
|
@ -22,6 +21,6 @@ agda.mkDerivation (self: rec {
|
|||
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 ];
|
||||
maintainers = with maintainers; [ jwiegley fuuzetsu mudri ];
|
||||
};
|
||||
})
|
||||
|
|
|
@ -19,5 +19,6 @@ agda.mkDerivation (self: rec {
|
|||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
||||
broken = true;
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue