nixpkgs/pkgs/development/coq-modules/reglang/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
1.0 KiB
Nix
Raw Normal View History

2023-10-26 10:13:46 +00:00
{ lib, mkCoqDerivation, coq, mathcomp, version ? null }:
2021-06-07 17:22:36 +00:00
mkCoqDerivation {
pname = "reglang";
releaseRev = v: "v${v}";
2024-01-25 16:34:26 +00:00
release."1.2.1".sha256 = "sha256-giCRK8wzpVVzXAkFAieQDWqSsP7upSJSUUHkwG4QqO4=";
2023-10-26 10:13:46 +00:00
release."1.2.0".sha256 = "sha256-gSqQ7D2HLwM4oYopTWkMFYfYXxsH/7VxI3AyrLwNf3o=";
2023-06-08 19:37:02 +00:00
release."1.1.3".sha256 = "sha256-kaselYm8K0JBsTlcI6K24m8qpv8CZ9+VNDJrOtFaExg=";
2021-06-07 17:22:36 +00:00
release."1.1.2".sha256 = "sha256-SEnMilLNxh6a3oiDNGLaBr8quQ/nO2T9Fwdf/1il2Yk=";
inherit version;
2023-10-26 10:13:46 +00:00
defaultVersion = with lib.versions; lib.switch [ coq.coq-version mathcomp.version ] [
2024-07-31 15:32:04 +00:00
{ cases = [ (range "8.16" "8.20") (isGe "2.0.0") ]; out = "1.2.1"; }
2024-01-25 16:34:26 +00:00
{ cases = [ (range "8.16" "8.18") (range "2.0.0" "2.1.0") ]; out = "1.2.0"; }
2024-06-28 13:47:38 +00:00
{ cases = [ (range "8.10" "8.20") (isLt "2.0.0") ]; out = "1.1.3"; }
2021-06-07 17:22:36 +00:00
] null;
2023-10-26 10:13:46 +00:00
propagatedBuildInputs = [ mathcomp.ssreflect ];
2021-06-07 17:22:36 +00:00
meta = with lib; {
2021-06-07 17:22:36 +00:00
description = "Regular Language Representations in Coq";
maintainers = with maintainers; [ siraben ];
license = licenses.cecill-b;
platforms = platforms.unix;
};
}