coqPackages.http: init at 0.2.1

This commit is contained in:
Pierre Roux 2024-08-01 15:01:55 +02:00 committed by Vincent Laporte
parent 67aab88f9d
commit d5fd8a7c67
3 changed files with 30 additions and 1 deletions

View File

@ -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=";

View 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;
};
}

View File

@ -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 {};