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