depot/third_party/nixpkgs/pkgs/development/coq-modules/stdpp/default.nix

22 lines
692 B
Nix
Raw Normal View History

{ lib, mkCoqDerivation, coq, version ? null }:
with lib; mkCoqDerivation rec {
pname = "stdpp";
inherit version;
domain = "gitlab.mpi-sws.org";
owner = "iris";
defaultVersion = with versions; switch coq.coq-version [
{ case = isGe "8.11"; out = "1.5.0"; }
{ case = range "8.8" "8.11"; out = "1.4.0"; }
] null;
release."1.5.0".sha256 = "1ym0fy620imah89p8b6rii8clx2vmnwcrbwxl3630h24k42092nf";
release."1.4.0".sha256 = "1m6c7ibwc99jd4cv14v3r327spnfvdf3x2mnq51f9rz99rffk68r";
releaseRev = v: "coq-stdpp-${v}";
meta = {
description = "An extended Standard Library for Coq";
license = licenses.bsd3;
maintainers = [ maintainers.vbgl ];
};
}