depot/third_party/nixpkgs/pkgs/development/coq-modules/deriving/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

29 lines
600 B
Nix

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