coqPackages.ElmExtraction: init at 0.1.0 (#326305)

This commit is contained in:
4ever2 2024-09-11 05:51:15 +02:00 committed by GitHub
parent b9e2dff0ed
commit 0d319ecd53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 59 additions and 0 deletions

View File

@ -243,6 +243,12 @@
github = "48cf";
githubId = 32851089;
};
_4ever2 = {
email = "eske@cs.au.dk";
github = "4ever2";
githubId = 3417013;
name = "Eske Nielsen";
};
_6543 = {
email = "6543@obermui.de";
github = "6543";

View File

@ -0,0 +1,52 @@
{
lib,
mkCoqDerivation,
which,
coq,
metacoq,
version ? null,
}:
with lib;
mkCoqDerivation {
pname = "ElmExtraction";
repo = "coq-elm-extraction";
owner = "AU-COBRA";
domain = "github.com";
inherit version;
defaultVersion =
with versions;
switch
[
coq.coq-version
metacoq.version
]
[
{
cases = [
(range "8.17" "8.20")
(range "1.3.1" "1.3.2")
];
out = "0.1.0";
}
]
null;
release."0.1.0".sha256 = "EWjubBHsxAl2HuRAfJI3B9qzP2mj89eh0CUc8y7/7Ds=";
releaseRev = v: "v${v}";
propagatedBuildInputs = [
coq.ocamlPackages.findlib
metacoq
];
postPatch = ''patchShebangs ./tests/process-extraction-examples.sh'';
meta = {
description = "A framework for extracting Coq programs to Elm";
maintainers = with maintainers; [ _4ever2 ];
license = licenses.mit;
};
}

View File

@ -60,6 +60,7 @@ let
corn = callPackage ../development/coq-modules/corn {};
deriving = callPackage ../development/coq-modules/deriving {};
dpdgraph = callPackage ../development/coq-modules/dpdgraph {};
ElmExtraction = callPackage ../development/coq-modules/ElmExtraction {};
equations = callPackage ../development/coq-modules/equations { };
extructures = callPackage ../development/coq-modules/extructures { };
fiat_HEAD = callPackage ../development/coq-modules/fiat/HEAD.nix {};