git.iko.soy/typeable/nixpkgs
on master help sign in
coqPackages.ssreflect, more: build ssrcoq binary, add maintainer
commitf78f2a90d664fb7e142fb6e4e64b9273516be4d8 authorJohn Wiegley <johnw@newartisans.com> dateMon 13 Oct 2014, 16:10 (12 years ago) parentb9c2fe5
4 files changed+22−4
pkgs/development/coq-modules/containers/default.nix+1−1 pkgs/development/coq-modules/coq-ext-lib/default.nix+3−1 pkgs/development/coq-modules/mathcomp/default.nix+3−1 pkgs/development/coq-modules/ssreflect/default.nix+15−1
pkgs/development/coq-modules/containers/default.nix+1−1
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 meta = with stdenv.lib; {
1818 homepage = http://coq.inria.fr/pylons/pylons/contribs/view/Containers/v8.4;
1919 description = "A typeclass-based Coq library of finite sets/maps";
20− maintainers = with maintainers; [ vbgl ];
20+ maintainers = with maintainers; [ vbgl jwiegley ];
2121 platforms = coq.meta.platforms;
2222 };
2323
pkgs/development/coq-modules/coq-ext-lib/default.nix+3−1
@@ -14,7 +14,9 @@ stdenv.mkDerivation rec {
1414 buildInputs = [ coq.ocaml coq.camlp5 ];
1515 propagatedBuildInputs = [ coq ];
1616
17− installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}";
17+ enableParallelBuilding = true;
18+
19+ installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
1820
1921 meta = with stdenv.lib; {
2022 homepage = https://github.com/coq-ext-lib/coq-ext-lib;
pkgs/development/coq-modules/mathcomp/default.nix+3−1
@@ -11,12 +11,14 @@ stdenv.mkDerivation {
1111
1212 propagatedBuildInputs = [ coq ssreflect ];
1313
14+ enableParallelBuilding = true;
15+
1416 installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
1517
1618 meta = with stdenv.lib; {
1719 homepage = http://ssr.msr-inria.inria.fr/;
1820 license = licenses.cecill-b;
19− maintainers = [ maintainers.vbgl ];
21+ maintainers = [ maintainers.vbgl maintainers.jwiegley ];
2022 platforms = coq.meta.platforms;
2123 hydraPlatforms = [];
2224 };
pkgs/development/coq-modules/ssreflect/default.nix+15−1
@@ -14,12 +14,26 @@ stdenv.mkDerivation {
1414 buildInputs = [ coq.ocaml coq.camlp5 ];
1515 propagatedBuildInputs = [ coq ];
1616
17+ enableParallelBuilding = true;
18+
19+ patchPhase = ''
20+ # Permit building of the ssrcoq statically-bound executable
21+ sed -i 's/^#-custom/-custom/' Make
22+ sed -i 's/^#SSRCOQ/SSRCOQ/' Make
23+ '';
24+
1725 installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
1826
27+ postInstall = ''
28+ mkdir -p $out/bin
29+ cp -p bin/ssrcoq $out/bin
30+ cp -p bin/ssrcoq.byte $out/bin
31+ '';
32+
1933 meta = with stdenv.lib; {
2034 homepage = http://ssr.msr-inria.inria.fr/;
2135 license = licenses.cecill-b;
22− maintainers = with maintainers; [ vbgl ];
36+ maintainers = with maintainers; [ vbgl jwiegley ];
2337 platforms = coq.meta.platforms;
2438 };
2539