mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +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`
23 lines
685 B
Nix
23 lines
685 B
Nix
{ lib, mkCoqDerivation, coq, version ? null }:
|
|
|
|
with lib;
|
|
|
|
mkCoqDerivation {
|
|
pname = "coqtail-math";
|
|
owner = "coq-community";
|
|
inherit version;
|
|
defaultVersion = with versions; switch coq.coq-version [
|
|
{ case = range "8.11" "8.15"; out = "8.14"; }
|
|
{ case = range "8.11" "8.13"; out = "20201124"; }
|
|
] null;
|
|
|
|
release."8.14".sha256 = "sha256:1k8f8idjnx0mf4z479vcx55iz42rjxrbplbznv80m2famxakq03c";
|
|
release."20201124".rev = "5c22c3d7dcd8cf4c47cf84a281780f5915488e9e";
|
|
release."20201124".sha256 = "sha256-wd+Lh7dpAD4zfpyKuztDmSFEZo5ZiFrR8ti2jUCVvoQ=";
|
|
mlPlugin = true;
|
|
meta = {
|
|
license = licenses.lgpl3Only;
|
|
maintainers = [ maintainers.siraben ];
|
|
};
|
|
}
|