coqPackages.ssreflect, more: build ssrcoq binary, add maintainer

This commit is contained in:
John Wiegley 2014-10-13 16:10:19 -05:00
parent b9c2fe5fd8
commit f78f2a90d6
4 changed files with 22 additions and 4 deletions

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; {
homepage = http://coq.inria.fr/pylons/pylons/contribs/view/Containers/v8.4;
description = "A typeclass-based Coq library of finite sets/maps";
maintainers = with maintainers; [ vbgl ];
maintainers = with maintainers; [ vbgl jwiegley ];
platforms = coq.meta.platforms;
};

View File

@ -14,7 +14,9 @@ stdenv.mkDerivation rec {
buildInputs = [ coq.ocaml coq.camlp5 ];
propagatedBuildInputs = [ coq ];
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}";
enableParallelBuilding = true;
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
meta = with stdenv.lib; {
homepage = https://github.com/coq-ext-lib/coq-ext-lib;

View File

@ -11,12 +11,14 @@ stdenv.mkDerivation {
propagatedBuildInputs = [ coq ssreflect ];
enableParallelBuilding = true;
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
meta = with stdenv.lib; {
homepage = http://ssr.msr-inria.inria.fr/;
license = licenses.cecill-b;
maintainers = [ maintainers.vbgl ];
maintainers = [ maintainers.vbgl maintainers.jwiegley ];
platforms = coq.meta.platforms;
hydraPlatforms = [];
};

View File

@ -14,12 +14,26 @@ stdenv.mkDerivation {
buildInputs = [ coq.ocaml coq.camlp5 ];
propagatedBuildInputs = [ coq ];
enableParallelBuilding = true;
patchPhase = ''
# Permit building of the ssrcoq statically-bound executable
sed -i 's/^#-custom/-custom/' Make
sed -i 's/^#SSRCOQ/SSRCOQ/' Make
'';
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
postInstall = ''
mkdir -p $out/bin
cp -p bin/ssrcoq $out/bin
cp -p bin/ssrcoq.byte $out/bin
'';
meta = with stdenv.lib; {
homepage = http://ssr.msr-inria.inria.fr/;
license = licenses.cecill-b;
maintainers = with maintainers; [ vbgl ];
maintainers = with maintainers; [ vbgl jwiegley ];
platforms = coq.meta.platforms;
};