18 lines
631 B
Nix
18 lines
631 B
Nix
{ lib, mkCoqDerivation, coq, version ? null }:
|
|
|
|
mkCoqDerivation rec {
|
|
pname = "coq-record-update";
|
|
owner = "tchajed";
|
|
inherit version;
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
|
{ case = range "8.10" "8.16"; out = "0.3.1"; }
|
|
] null;
|
|
release."0.3.1".sha256 = "sha256-DyGxO2tqmYZZluXN6Oy5Tw6fuLMyuyxonj8CCToWKkk=";
|
|
release."0.3.0".sha256 = "1ffr21dd6hy19gxnvcd4if2450iksvglvkd6q5713fajd72hmc0z";
|
|
releaseRev = v: "v${v}";
|
|
buildFlags = [ "NO_TEST=1" ];
|
|
meta = {
|
|
description = "Library to create Coq record update functions";
|
|
maintainers = with lib.maintainers; [ ineol ];
|
|
};
|
|
}
|