tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
Add missing default.nix for coqPackages.equations
John Wiegley
8 years ago
7d6d4af1
dcab51c6
+45
1 changed file
expand all
collapse all
unified
split
pkgs
development
coq-modules
equations
default.nix
+45
pkgs/development/coq-modules/equations/default.nix
reviewed
···
1
1
+
{ stdenv, fetchFromGitHub, coq }:
2
2
+
3
3
+
let param =
4
4
+
{
5
5
+
"8.6" = {
6
6
+
version = "1.0-beta";
7
7
+
rev = "v1.0-beta";
8
8
+
sha256 = "00pzlh5ij7s2hmpvimq1hjq3fjf0nrk997l3dl51kigx5r5dnvxd";
9
9
+
};
10
10
+
11
11
+
"8.7" = {
12
12
+
version = "cdf8c53";
13
13
+
rev = "cdf8c53f1f2274b29506f53bff476409ce717dc5";
14
14
+
sha256 = "0ipjzmviwnp0ippbkn03ld4j4j0dkzmyidmj4dvpdvymrkv31ai1";
15
15
+
};
16
16
+
17
17
+
}."${coq.coq-version}"
18
18
+
; in
19
19
+
20
20
+
stdenv.mkDerivation rec {
21
21
+
22
22
+
name = "coq${coq.coq-version}-equations-${version}";
23
23
+
version = "${param.version}";
24
24
+
25
25
+
src = fetchFromGitHub {
26
26
+
owner = "mattam82";
27
27
+
repo = "Coq-Equations";
28
28
+
rev = "${param.rev}";
29
29
+
sha256 = "${param.sha256}";
30
30
+
};
31
31
+
32
32
+
buildInputs = [ coq.ocaml coq.camlp5 coq.findlib coq ];
33
33
+
34
34
+
preBuild = "coq_makefile -f _CoqProject -o Makefile";
35
35
+
36
36
+
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
37
37
+
38
38
+
meta = with stdenv.lib; {
39
39
+
homepage = https://mattam82.github.io/Coq-Equations/;
40
40
+
description = "A plugin for Coq to add dependent pattern-matching";
41
41
+
maintainers = with maintainers; [ jwiegley ];
42
42
+
platforms = coq.meta.platforms;
43
43
+
};
44
44
+
45
45
+
}