Skip to content

Commit 9bc6260

Browse files
authored
Add coq Matrix package 8.18 (#373307)
1 parent 20ec0ea commit 9bc6260

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
lib,
3+
mkCoqDerivation,
4+
coq,
5+
version ? null,
6+
}:
7+
mkCoqDerivation {
8+
owner = "zhengpushi";
9+
pname = "CoqMatrix";
10+
inherit version;
11+
defaultVersion =
12+
with lib.versions;
13+
lib.switch coq.version [
14+
{
15+
case = range "8.11" "8.18";
16+
out = "1.0.6";
17+
}
18+
] null;
19+
release = {
20+
"1.0.6".sha256 = "sha256-XsM3fSstvB6GE5OqT7CFro+RWiYEgJsoQ5gXd74VaK0=";
21+
};
22+
meta = {
23+
homepage = "https://github.com/zhengpushi/CoqMatrix";
24+
description = "Matrix math";
25+
license = lib.licenses.mit;
26+
maintainers = with lib.maintainers; [ damhiya ];
27+
};
28+
}

pkgs/top-level/coq-packages.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ let
4444
coq-elpi = callPackage ../development/coq-modules/coq-elpi {};
4545
coq-hammer = callPackage ../development/coq-modules/coq-hammer { };
4646
coq-hammer-tactics = callPackage ../development/coq-modules/coq-hammer/tactics.nix { };
47+
CoqMatrix = callPackage ../development/coq-modules/coq-matrix { };
4748
coq-haskell = callPackage ../development/coq-modules/coq-haskell { };
4849
coq-lsp = callPackage ../development/coq-modules/coq-lsp {};
4950
coq-record-update = callPackage ../development/coq-modules/coq-record-update { };

0 commit comments

Comments
 (0)