9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
25 lines
686 B
Nix
25 lines
686 B
Nix
{ lib, mkCoqDerivation, coq, ssreflect, version ? null }:
|
|
|
|
mkCoqDerivation {
|
|
pname = "reglang";
|
|
|
|
releaseRev = v: "v${v}";
|
|
|
|
release."1.1.3".sha256 = "sha256-kaselYm8K0JBsTlcI6K24m8qpv8CZ9+VNDJrOtFaExg=";
|
|
release."1.1.2".sha256 = "sha256-SEnMilLNxh6a3oiDNGLaBr8quQ/nO2T9Fwdf/1il2Yk=";
|
|
|
|
inherit version;
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
|
{ case = range "8.10" "8.17"; out = "1.1.3"; }
|
|
] null;
|
|
|
|
|
|
propagatedBuildInputs = [ ssreflect ];
|
|
|
|
meta = with lib; {
|
|
description = "Regular Language Representations in Coq";
|
|
maintainers = with maintainers; [ siraben ];
|
|
license = licenses.cecill-b;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|