2021-10-28 06:52:43 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, version ? null
|
|
|
|
, ssreflect
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkCoqDerivation {
|
|
|
|
pname = "deriving";
|
|
|
|
owner = "arthuraa";
|
|
|
|
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
2022-09-09 14:08:57 +00:00
|
|
|
{ case = range "8.11" "8.16"; out = "0.1.0"; }
|
2021-10-28 06:52:43 +00:00
|
|
|
] null;
|
|
|
|
|
|
|
|
releaseRev = v: "v${v}";
|
|
|
|
|
|
|
|
release."0.1.0".sha256 = "sha256:11crnjm8hyis1qllkks3d7r07s1rfzwvyvpijya3s6iqfh8c7xwh";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ssreflect ];
|
|
|
|
|
|
|
|
mlPlugin = true;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2021-10-28 06:52:43 +00:00
|
|
|
description = "Generic instances of MathComp classes";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|