summaryrefslogtreecommitdiff
path: root/pkgs/development/coq-modules/LibHyps/default.nix
blob: 9f8d47944ebf90dd012ee708c04ccfc682fc4ea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  lib,
  mkCoqDerivation,
  coq,
  stdlib,
  version ? null,
}:

mkCoqDerivation {
  pname = "LibHyps";
  owner = "Matafou";
  inherit version;
  defaultVersion = if (lib.versions.range "8.11" "9.0") coq.version then "2.0.8" else null;
  release = {
    "2.0.8".sha256 = "sha256-u8T7ZWfgYNFBsIPss0uUS0oBvdlwPp3t5yYIMjYzfLc=";
  };

  configureScript = "./configure.sh";

  propagatedBuildInputs = [ stdlib ];

  releaseRev = (v: "libhyps-${v}");

  meta = {
    description = "Hypotheses manipulation library";
    license = lib.licenses.mit;
  };
}