mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
d113661156
- put `findlib` in `buildInputs` of `mkCoqDerivation` to make sure `coq` packages find their ocaml plugin dependencies, - use `propagatedBuildInputs` to make sure ocaml plugin dependencies are in path, - updated `coqPackage.heq` (broken url), - fixed use of `DESTDIR` and `COQMF_COQLIB` in mkCoqDerivation, - adding `COQCORELIB` environement variable to put ocaml plugin files in the right place, - make `metaFetch` available from `coqPackages`
27 lines
941 B
Nix
27 lines
941 B
Nix
{ which, lib, mkCoqDerivation, autoconf, coq, flocq, version ? null }:
|
|
|
|
with lib; mkCoqDerivation {
|
|
pname = "gappalib";
|
|
repo = "coq";
|
|
owner = "gappa";
|
|
domain = "gitlab.inria.fr";
|
|
inherit version;
|
|
defaultVersion = if versions.range "8.8" "8.15" coq.coq-version then "1.5.1" else null;
|
|
release."1.5.1".sha256 = "1806bq1z6q5rq2ma7d5kfbqfyfr755hjg0dq7b2llry8fx9cxjsg";
|
|
release."1.5.0".sha256 = "1i1c0gakffxqqqqw064cbvc243yl325hxd50jmczr6mk18igk41n";
|
|
release."1.4.5".sha256 = "081hib1d9wfm29kis390qsqch8v6fs3q71g2rgbbzx5y5cf48n9k";
|
|
release."1.4.4".sha256 = "114q2hgw64j6kqa9mg3qcp1nlf0ia46z2xadq81fnkxqm856ml7l";
|
|
releaseRev = v: "gappalib-coq-${v}";
|
|
|
|
nativeBuildInputs = [ autoconf ];
|
|
mlPlugin = true;
|
|
propagatedBuildInputs = [ flocq ];
|
|
useMelquiondRemake.logpath = "Gappa";
|
|
|
|
meta = {
|
|
description = "Coq support library for Gappa";
|
|
license = licenses.lgpl21;
|
|
maintainers = [ maintainers.vbgl ];
|
|
};
|
|
}
|