mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
coqPackages.http: init at 0.2.1
This commit is contained in:
parent
67aab88f9d
commit
d5fd8a7c67
@ -8,7 +8,7 @@ mkCoqDerivation {
|
||||
|
||||
defaultVersion = let inherit (lib.versions) range; in
|
||||
lib.switch coq.coq-version [
|
||||
{ case = range "8.12" "8.20"; out = "0.1.0"; }
|
||||
{ case = range "8.12" "8.19"; out = "0.1.0"; }
|
||||
] null;
|
||||
release = {
|
||||
"0.1.0".sha256 = "sha256-0DBUS20337tpBi64mlJIWTQvIAdUvWbFCM9Sat7MEA8=";
|
||||
|
28
pkgs/development/coq-modules/http/default.nix
Normal file
28
pkgs/development/coq-modules/http/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, mkCoqDerivation, coq, QuickChick, async-test, version ? null }:
|
||||
|
||||
mkCoqDerivation {
|
||||
pname = "http";
|
||||
owner = "liyishuai";
|
||||
repo = "coq-http";
|
||||
inherit version;
|
||||
|
||||
defaultVersion = let inherit (lib.versions) range; in
|
||||
lib.switch coq.coq-version [
|
||||
{ case = range "8.14" "8.19"; out = "0.2.1"; }
|
||||
] null;
|
||||
release = {
|
||||
"0.2.1".sha256 = "sha256-CIcaXEojNdajXNoMBjGlQRc1sOJSKgUlditNxbNSPgk=";
|
||||
};
|
||||
releaseRev = v: "v${v}";
|
||||
|
||||
propagatedBuildInputs = [ QuickChick async-test ];
|
||||
|
||||
configurePhase = ''
|
||||
sed -e 's/^ install extract.*//' -i Makefile
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "HTTP specification in Coq, testable and verifiable";
|
||||
license = lib.licenses.mpl20;
|
||||
};
|
||||
}
|
@ -73,6 +73,7 @@ let
|
||||
hierarchy-builder = callPackage ../development/coq-modules/hierarchy-builder {};
|
||||
high-school-geometry = callPackage ../development/coq-modules/high-school-geometry {};
|
||||
HoTT = callPackage ../development/coq-modules/HoTT {};
|
||||
http = callPackage ../development/coq-modules/http {};
|
||||
hydra-battles = callPackage ../development/coq-modules/hydra-battles {};
|
||||
interval = callPackage ../development/coq-modules/interval {};
|
||||
InfSeqExt = callPackage ../development/coq-modules/InfSeqExt {};
|
||||
|
Loading…
Reference in New Issue
Block a user