summaryrefslogtreecommitdiff
path: root/pkgs/development/rocq-modules/relation-algebra/default.nix
blob: 73a712681bcff3d7a814a15b07bebfd84aa4974b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  lib,
  mkRocqDerivation,
  rocq-core,
  stdlib,
  version ? null,
}:

mkRocqDerivation {
  pname = "relation-algebra";
  owner = "damien-pous";

  inherit version;
  defaultVersion =
    lib.switch
      [ rocq-core.rocq-version ]
      [
        {
          cases = [ (lib.versions.range "9.0" "9.1") ];
          out = "1.8.0";
        }
      ]
      null;

  releaseRev = v: "v${v}";

  release."1.8.0".sha256 = "sha256-RnY+a57KnStACteaT5dKQoCCH0qp7/W+4qoaApIilj0=";

  propagatedBuildInputs = [
    stdlib
  ];

  dontConfigure = true;

  mlPlugin = true;

  meta = {
    description = "Relation algebra library for Rocq";
    maintainers = with lib.maintainers; [ siraben ];
    license = lib.licenses.gpl3Plus;
    platforms = lib.platforms.unix;
  };
}