forked from mirrors/nixpkgs
Merge pull request #10087 from vbgl/coq-ext-lib
coq-ext-lib: c2c71a2a -> 0.9.0 & 1.0.0-beta2
This commit is contained in:
commit
0de1939a77
|
@ -1,14 +1,21 @@
|
||||||
{stdenv, fetchgit, coq}:
|
{ stdenv, fetchFromGitHub, coq }:
|
||||||
|
|
||||||
|
let param =
|
||||||
|
if coq.coq-version == "8.4"
|
||||||
|
then { version = "0.9.0"; sha256 = "1n3bk003vvbghbrxkhal6drnc0l65jv9y77wd56is3jw9xgiif0w"; }
|
||||||
|
else { version = "1.0.0-beta2"; sha256 = "0rdh6jsag174576nvra6m2g44fvmlbz4am5wcashj45bq30021sa"; };
|
||||||
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "coq-ext-lib-${coq.coq-version}-${version}";
|
name = "coq${coq.coq-version}-coq-ext-lib-${version}";
|
||||||
version = "c2c71a2a";
|
inherit (param) version;
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = git://github.com/coq-ext-lib/coq-ext-lib.git;
|
owner = "coq-ext-lib";
|
||||||
rev = "c2c71a2a90ac87f2ceb311a6da53a6796b916816";
|
repo = "coq-ext-lib";
|
||||||
sha256 = "01sihw3nmvvpc8viwyr01qnqifdcmlg016034xmrfmv863yp8c4g";
|
rev = "v${param.version}";
|
||||||
|
inherit (param) sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ coq.ocaml coq.camlp5 ];
|
buildInputs = [ coq.ocaml coq.camlp5 ];
|
||||||
|
|
|
@ -14354,6 +14354,8 @@ let
|
||||||
|
|
||||||
coq = coq_8_5;
|
coq = coq_8_5;
|
||||||
|
|
||||||
|
coq-ext-lib = callPackage ../development/coq-modules/coq-ext-lib {};
|
||||||
|
|
||||||
mathcomp = callPackage ../development/coq-modules/mathcomp { };
|
mathcomp = callPackage ../development/coq-modules/mathcomp { };
|
||||||
|
|
||||||
ssreflect = callPackage ../development/coq-modules/ssreflect { };
|
ssreflect = callPackage ../development/coq-modules/ssreflect { };
|
||||||
|
|
Loading…
Reference in a new issue