depot/third_party/nixpkgs/pkgs/development/coq-modules/deriving/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

28 lines
608 B
Nix

{ lib, mkCoqDerivation, coq, version ? null
, ssreflect
}:
mkCoqDerivation {
pname = "deriving";
owner = "arthuraa";
inherit version;
defaultVersion = with lib.versions; lib.switch coq.coq-version [
{ case = range "8.11" "8.16"; out = "0.1.0"; }
] null;
releaseRev = v: "v${v}";
release."0.1.0".sha256 = "sha256:11crnjm8hyis1qllkks3d7r07s1rfzwvyvpijya3s6iqfh8c7xwh";
propagatedBuildInputs = [ ssreflect ];
mlPlugin = true;
meta = with lib; {
description = "Generic instances of MathComp classes";
license = licenses.mit;
maintainers = [ maintainers.vbgl ];
};
}