depot/third_party/nixpkgs/pkgs/development/coq-modules/deriving/default.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

61 lines
1.3 KiB
Nix

{
lib,
mkCoqDerivation,
coq,
version ? null,
ssreflect,
stdlib,
}:
mkCoqDerivation {
pname = "deriving";
owner = "arthuraa";
inherit version;
defaultVersion =
with lib.versions;
lib.switch
[ coq.coq-version ssreflect.version ]
[
{
cases = [
(range "8.17" "9.0")
(isGe "2.0.0")
];
out = "0.2.1";
}
{
cases = [
(range "8.17" "8.20")
(isGe "2.0.0")
];
out = "0.2.0";
}
{
cases = [
(range "8.11" "8.20")
(isLe "2.0.0")
];
out = "0.1.1";
}
]
null;
releaseRev = v: "v${v}";
release."0.2.1".sha256 = "sha256-053bNa3rcy0fCs9CQoKPxDLXnKRHzteyClLDURpaZJo=";
release."0.2.0".sha256 = "sha256-xPsuEayHstjF0PGFJZJ+5cm0oMUrpoGLXN23op97vjM=";
release."0.1.1".sha256 = "sha256-Gu8aInLxTXfAFE0/gWRYI046Dx3Gv1j1+gx92v/UnPI=";
release."0.1.0".sha256 = "sha256:11crnjm8hyis1qllkks3d7r07s1rfzwvyvpijya3s6iqfh8c7xwh";
propagatedBuildInputs = [ ssreflect stdlib ];
mlPlugin = true;
meta = with lib; {
description = "Generic instances of MathComp classes";
license = licenses.mit;
maintainers = [ maintainers.vbgl ];
};
}