1{ callPackage, fetchurl, coq }: 2 3let param = 4 { 5 version = "1.6.1"; 6 url = https://github.com/math-comp/math-comp/archive/mathcomp-1.6.1.tar.gz; 7 sha256 = "1j9ylggjzrxz1i2hdl2yhsvmvy5z6l4rprwx7604401080p5sgjw"; 8 }; in 9 10callPackage ./generic.nix { 11 name = "coq${coq.coq-version}-mathcomp-${param.version}"; 12 src = fetchurl { inherit (param) url sha256; }; 13}