2017-07-19 00:09:20 +01:00
|
|
|
{ stdenv, fetchurl, coq }:
|
2017-01-25 21:55:43 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2017-07-19 00:09:20 +01:00
|
|
|
name = "coq${coq.coq-version}-math-classes-1.0.6";
|
2017-01-25 21:55:43 +00:00
|
|
|
|
2017-07-19 00:09:20 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/math-classes/math-classes/archive/1.0.6.tar.gz;
|
|
|
|
sha256 = "071hgjk4bz2ybci7dp2mw7xqmxmm2zph7kj28xcdg28iy796lf02";
|
2017-01-25 21:55:43 +00:00
|
|
|
};
|
|
|
|
|
2017-07-19 00:09:20 +01:00
|
|
|
# src = fetchFromGitHub {
|
|
|
|
# owner = "math-classes";
|
|
|
|
# repo = "math-classes";
|
|
|
|
# rev = "1d426a08c2fbfd68bd1b3622fe8f31dd03712e6c";
|
|
|
|
# sha256 = "3kjc2wzb6n9hcqb2ijx2pckn8jk5g09crrb87yb4s9m0mrw79smr";
|
|
|
|
# };
|
|
|
|
|
2017-01-25 21:55:43 +00:00
|
|
|
buildInputs = [ coq ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://math-classes.github.io;
|
|
|
|
description = "A library of abstract interfaces for mathematical structures in Coq.";
|
2017-07-19 00:09:20 +01:00
|
|
|
maintainers = with maintainers; [ siddharthist jwiegley ];
|
2017-01-25 21:55:43 +00:00
|
|
|
platforms = coq.meta.platforms;
|
|
|
|
};
|
|
|
|
}
|