@@ -0,0 +1,23 @@
1+{ stdenv, fetchFromGitHub, coq }:
2+
3+stdenv.mkDerivation {
4+ name = "coq${coq.coq-version}-math-classes-2016-06-08";
5+
6+ src = fetchFromGitHub {
7+ owner = "math-classes";
8+ repo = "math-classes";
9+ rev = "751e63b260bd2f78b280f2566c08a18034bd40b3";
10+ sha256 = "0kjc2wzb6n9hcqb2ijx2pckn8jk5g09crrb87yb4s9m0mrw79smr";
11+ };
12+
13+ buildInputs = [ coq ];
14+ enableParallelBuilding = true;
15+ installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
16+
17+ meta = with stdenv.lib; {
18+ homepage = https://math-classes.github.io;
19+ description = "A library of abstract interfaces for mathematical structures in Coq.";
20+ maintainers = with maintainers; [ siddharthist ];
21+ platforms = coq.meta.platforms;
22+ };
23+}