coqPackages.simple-io: 1.7.0 → 1.8.0
This commit is contained in:
parent
315e7a5313
commit
fba73283c1
2 changed files with 8 additions and 4 deletions
|
@ -1,14 +1,15 @@
|
||||||
{ lib, callPackage, mkCoqDerivation, coq, coq-ext-lib, version ? null }:
|
{ lib, callPackage, mkCoqDerivation, coq, coq-ext-lib, version ? null }:
|
||||||
|
|
||||||
mkCoqDerivation {
|
(mkCoqDerivation {
|
||||||
pname = "simple-io";
|
pname = "simple-io";
|
||||||
owner = "Lysxia";
|
owner = "Lysxia";
|
||||||
repo = "coq-simple-io";
|
repo = "coq-simple-io";
|
||||||
inherit version;
|
inherit version;
|
||||||
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
||||||
{ case = range "8.11" "8.16"; out = "1.7.0"; }
|
{ case = range "8.11" "8.17"; out = "1.8.0"; }
|
||||||
{ case = range "8.7" "8.13"; out = "1.3.0"; }
|
{ case = range "8.7" "8.13"; out = "1.3.0"; }
|
||||||
] null;
|
] null;
|
||||||
|
release."1.8.0".sha256 = "sha256-3ADNeXrBIpYRlfUW+LkLHUWV1w1HFrVc/TZISMuwvRY=";
|
||||||
release."1.7.0".sha256 = "sha256:1a1q9x2abx71hqvjdai3n12jxzd49mhf3nqqh3ya2ssl2lj609ci";
|
release."1.7.0".sha256 = "sha256:1a1q9x2abx71hqvjdai3n12jxzd49mhf3nqqh3ya2ssl2lj609ci";
|
||||||
release."1.3.0".sha256 = "1yp7ca36jyl9kz35ghxig45x6cd0bny2bpmy058359p94wc617ax";
|
release."1.3.0".sha256 = "1yp7ca36jyl9kz35ghxig45x6cd0bny2bpmy058359p94wc617ax";
|
||||||
mlPlugin = true;
|
mlPlugin = true;
|
||||||
|
@ -26,4 +27,7 @@ mkCoqDerivation {
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.vbgl ];
|
maintainers = [ maintainers.vbgl ];
|
||||||
};
|
};
|
||||||
}
|
}).overrideAttrs (o: lib.optionalAttrs (lib.versionAtLeast o.version "1.8.0" || o.version == "dev") {
|
||||||
|
doCheck = false;
|
||||||
|
useDune = true;
|
||||||
|
})
|
||||||
|
|
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
cd test
|
cd test
|
||||||
for p in Argv.v Example.v HelloWorld.v TestExtraction.v TestPervasives.v
|
for p in Argv.v Example.v HelloWorld.v TestExtraction.v TestOcamlbuild.v TestPervasives.v
|
||||||
do
|
do
|
||||||
[ -f $p ] && echo $p && coqc $p
|
[ -f $p ] && echo $p && coqc $p
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue