diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-06-13 15:25:38 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-06-19 09:24:34 +0000 |
commit | 37eef9055ad0a150991d13c913df6b7e9ce24fdf (patch) | |
tree | abaf3d5a2512c825c969b5eabd530a0da0c1a185 /pkgs/development/coq-modules/gappalib | |
parent | 1f2a3a2df227e9e2abbf57db9c0352cb222dcc70 (diff) |
coqPackages.gappalib: init at 1.4.1
This is the Coq support library for Gappa.
Diffstat (limited to 'pkgs/development/coq-modules/gappalib')
-rw-r--r-- | pkgs/development/coq-modules/gappalib/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/gappalib/default.nix b/pkgs/development/coq-modules/gappalib/default.nix new file mode 100644 index 0000000000000..b76dd1b43d121 --- /dev/null +++ b/pkgs/development/coq-modules/gappalib/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, which, coq, flocq }: + +stdenv.mkDerivation { + name = "coq${coq.coq-version}-gappalib-1.4.1"; + src = fetchurl { + url = https://gforge.inria.fr/frs/download.php/file/37917/gappalib-coq-1.4.1.tar.gz; + sha256 = "0d3f23a871haglg8hq1jgxz3y5nryiwy12b5xfnfjn279jfqqjw4"; + }; + + nativeBuildInputs = [ which ]; + buildInputs = [ coq coq.ocamlPackages.ocaml ]; + propagatedBuildInputs = [ flocq ]; + + configurePhase = "./configure --libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Gappa"; + buildPhase = "./remake"; + installPhase = "./remake install"; + + meta = { + description = "Coq support library for Gappa"; + license = stdenv.lib.licenses.lgpl21; + homepage = http://gappa.gforge.inria.fr/; + maintainers = [ stdenv.lib.maintainers.vbgl ]; + inherit (coq.meta) platforms; + }; + + passthru = { + compatibleCoqVersions = stdenv.lib.flip stdenv.lib.versionAtLeast "8.7"; + }; + +} |