mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
coqPackages.paco: 1.2.8 -> 4.0.0
This commit is contained in:
parent
d2f083160f
commit
ea8e3f5979
@ -1,13 +1,36 @@
|
||||
{stdenv, fetchurl, coq, unzip}:
|
||||
{stdenv, fetchFromGitHub, coq, unzip}:
|
||||
|
||||
let
|
||||
versions = {
|
||||
pre_8_6 = rec {
|
||||
rev = "v${version}";
|
||||
version = "1.2.8";
|
||||
sha256 = "05fskx5x1qgaf9qv626m38y5izichzzqc7g2rglzrkygbskrrwsb";
|
||||
};
|
||||
post_8_6 = rec {
|
||||
rev = "v${version}";
|
||||
version = "4.0.0";
|
||||
sha256 = "1ncrdyijkgf0s2q4rg1s9r2nrcb17gq3jz63iqdlyjq3ylv8gyx0";
|
||||
};
|
||||
};
|
||||
params = {
|
||||
"8.5" = versions.pre_8_6;
|
||||
"8.6" = versions.post_8_6;
|
||||
"8.7" = versions.post_8_6;
|
||||
"8.8" = versions.post_8_6;
|
||||
"8.9" = versions.post_8_6;
|
||||
};
|
||||
param = params.${coq.coq-version};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
inherit (param) version;
|
||||
name = "coq-paco-${coq.coq-version}-${version}";
|
||||
version = "1.2.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://plv.mpi-sws.org/paco/paco-${version}.zip";
|
||||
sha256 = "1lcmdr0y2d7gzyvr8dal3pi7fibbd60bpi1l32fw89xiyrgqhsqy";
|
||||
src = fetchFromGitHub {
|
||||
inherit (param) rev sha256;
|
||||
owner = "snu-sf";
|
||||
repo = "paco";
|
||||
};
|
||||
|
||||
buildInputs = with coq.ocamlPackages; [ ocaml camlp5 unzip ];
|
||||
@ -24,12 +47,12 @@ stdenv.mkDerivation rec {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://plv.mpi-sws.org/paco/;
|
||||
description = "A Coq library implementing parameterized coinduction";
|
||||
maintainers = with maintainers; [ jwiegley ];
|
||||
maintainers = with maintainers; [ jwiegley ptival ];
|
||||
platforms = coq.meta.platforms;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" ];
|
||||
compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user