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 }:
|
||||
|
||||
mkCoqDerivation {
|
||||
(mkCoqDerivation {
|
||||
pname = "simple-io";
|
||||
owner = "Lysxia";
|
||||
repo = "coq-simple-io";
|
||||
inherit 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"; }
|
||||
] null;
|
||||
release."1.8.0".sha256 = "sha256-3ADNeXrBIpYRlfUW+LkLHUWV1w1HFrVc/TZISMuwvRY=";
|
||||
release."1.7.0".sha256 = "sha256:1a1q9x2abx71hqvjdai3n12jxzd49mhf3nqqh3ya2ssl2lj609ci";
|
||||
release."1.3.0".sha256 = "1yp7ca36jyl9kz35ghxig45x6cd0bny2bpmy058359p94wc617ax";
|
||||
mlPlugin = true;
|
||||
|
@ -26,4 +27,7 @@ mkCoqDerivation {
|
|||
license = licenses.mit;
|
||||
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 = ''
|
||||
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
|
||||
[ -f $p ] && echo $p && coqc $p
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue