-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
161 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"fb3515feec422e546de863ad0101e2a51ec9b8db" | ||
"78d95509824be9e3339c1c0ee19f9c085f32b23e" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ lib, mkCoqDerivation, coq, version ? null | ||
, equations | ||
, mathcomp-ssreflect | ||
, mathcomp-analysis | ||
, mathcomp-experimental-reals | ||
, mathcomp-word | ||
, mathcomp-zify | ||
, extructures | ||
, deriving | ||
}: | ||
|
||
(mkCoqDerivation { | ||
pname = "ssprove"; | ||
owner = "SSProve"; | ||
|
||
inherit version; | ||
defaultVersion = with lib.versions; lib.switch [coq.coq-version mathcomp-ssreflect.version] [ | ||
{ cases = [(range "8.18" "8.20") "2.3.0"]; out = "0.2.3"; } | ||
{ cases = [(range "8.18" "8.20") (range "2.1.0" "2.2.0")]; out = "0.2.2"; } | ||
# This is the original dependency: | ||
# { cases = ["8.17" "1.18.0"]; out = "0.1.0"; } | ||
# But it is not loadable. The math-comp nixpkgs configuration | ||
# will always only output version 1.18.0 for Coq 8.17. | ||
# Hence, the Coq 8.17 and math-comp 1.17.0 must be explicitly set | ||
# to load it. | ||
# (This version is not on the math-comp CI and hence not checked.) | ||
{ cases = ["8.17" "1.17.0"]; out = "0.1.0"; } | ||
] null; | ||
|
||
releaseRev = v: "v${v}"; | ||
|
||
release."0.2.3".sha256 = "sha256-Y3dmNIF36IuIgrVILteofOv8e5awKfq93S4YN7enswI="; | ||
release."0.2.2".sha256 = "sha256-tBF8equJd6hKZojpe+v9h6Tg9xEnMTVFgOYK7ZnMfxk="; | ||
release."0.2.1".sha256 = "sha256-X00q5QFxdcGWeNqOV/PLTOqQyyfqFEinbGUTO7q8bC4="; | ||
release."0.2.0".sha256 = "sha256-GDkWH0LUsW165vAUoYC5of9ndr0MbfBtmrPhsJVXi3o="; | ||
release."0.1.0".sha256 = "sha256-Yj+k+mBsudi3d6bRVlZLyM4UqQnzAX5tHvxtKoIuNTE="; | ||
|
||
propagatedBuildInputs = [equations | ||
mathcomp-ssreflect | ||
mathcomp-analysis | ||
mathcomp-experimental-reals | ||
mathcomp-word | ||
mathcomp-zify | ||
extructures | ||
deriving]; | ||
|
||
meta = with lib; { | ||
description = "SSProve: A Foundational Framework for Modular Cryptographic Proofs in Coq"; | ||
license = licenses.mit; | ||
maintainers = [ { | ||
name = "Sebastian Ertel"; | ||
email = "[email protected]"; | ||
github = "sertel"; | ||
githubId = 3703100; | ||
} ]; | ||
}; | ||
|
||
}) |