2021-10-28 06:52:43 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, version ? null
|
|
|
|
, ssreflect
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkCoqDerivation {
|
|
|
|
pname = "deriving";
|
|
|
|
owner = "arthuraa";
|
|
|
|
|
|
|
|
inherit version;
|
2023-10-19 13:55:26 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch [coq.coq-version ssreflect.version] [
|
|
|
|
{ cases = [(range "8.17" "8.18") (isGe "2.0.0")] ; out = "0.2.0"; }
|
|
|
|
{ cases = [(range "8.11" "8.18") (isLe "2.0.0")] ; out = "0.1.1"; }
|
2021-10-28 06:52:43 +00:00
|
|
|
] null;
|
|
|
|
|
|
|
|
releaseRev = v: "v${v}";
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
release."0.2.0".sha256 = "sha256-xPsuEayHstjF0PGFJZJ+5cm0oMUrpoGLXN23op97vjM=";
|
2023-07-15 17:15:38 +00:00
|
|
|
release."0.1.1".sha256 = "sha256-Gu8aInLxTXfAFE0/gWRYI046Dx3Gv1j1+gx92v/UnPI=";
|
2021-10-28 06:52:43 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|