mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
22 lines
532 B
Nix
22 lines
532 B
Nix
|
{ lib, mkCoqDerivation, coq, version ? null }:
|
||
|
|
||
|
mkCoqDerivation {
|
||
|
pname = "atbr";
|
||
|
inherit version;
|
||
|
defaultVersion = let inherit (lib.versions) range; in
|
||
|
lib.switch coq.coq-version [
|
||
|
{ case = range "8.20" "8.20"; out = "8.20.0"; }
|
||
|
] null;
|
||
|
release = {
|
||
|
"8.20.0".sha256 = "sha256-Okhtq6Gnq4HA3tEZJvf8JBnmk3OKdm6hC1qINmoShmo=";
|
||
|
};
|
||
|
releaseRev = v: "v${v}";
|
||
|
|
||
|
mlPlugin = true;
|
||
|
|
||
|
meta = {
|
||
|
description = "Coq library and tactic for deciding Kleene algebras";
|
||
|
license = lib.licenses.lgpl3Plus;
|
||
|
};
|
||
|
}
|