nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at release-20.03 30 lines 836 B view raw
1{ stdenv, fetchFromGitHub, coq, bignums }: 2 3stdenv.mkDerivation rec { 4 5 name = "coq${coq.coq-version}-math-classes-${version}"; 6 version = "8.9.1"; 7 8 src = fetchFromGitHub { 9 owner = "coq-community"; 10 repo = "math-classes"; 11 rev = version; 12 sha256 = "1lw89js07m1wcaycpnyd85sf0snil2rrsfmry9lna2x66ah1mzn5"; 13 }; 14 15 buildInputs = [ coq bignums ]; 16 enableParallelBuilding = true; 17 installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ]; 18 19 meta = with stdenv.lib; { 20 homepage = https://math-classes.github.io; 21 description = "A library of abstract interfaces for mathematical structures in Coq."; 22 maintainers = with maintainers; [ siddharthist jwiegley ]; 23 platforms = coq.meta.platforms; 24 }; 25 26 passthru = { 27 compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" "8.9" "8.10" ]; 28 }; 29 30}