summary refs log tree commit diff
path: root/pkgs/development/coq-modules/mathcomp/default.nix
blob: 48cb2c4d33fb91a95f67c2788b45a8412536a9ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ callPackage, fetchurl, coq }:

let param =
  {
    "8.4" =  {
      version = "1.6.1";
      url = https://github.com/math-comp/math-comp/archive/mathcomp-1.6.1.tar.gz;
      sha256 = "1j9ylggjzrxz1i2hdl2yhsvmvy5z6l4rprwx7604401080p5sgjw";
    };

    "8.5" =  {
      version = "1.6.1";
      url = https://github.com/math-comp/math-comp/archive/mathcomp-1.6.1.tar.gz;
      sha256 = "1j9ylggjzrxz1i2hdl2yhsvmvy5z6l4rprwx7604401080p5sgjw";
    };

    "8.6" =  {
      version = "1.6.4";
      url = https://github.com/math-comp/math-comp/archive/mathcomp-1.6.4.tar.gz;
      sha256 = "0qmjjb6jsxmmf4gpw10r30rmrvwqgzirvvgyy41mz2vhgwis8wn6";
    };

    "8.7" = {
      version = "1.6.4";
      url = https://github.com/math-comp/math-comp/archive/mathcomp-1.6.4.tar.gz;
      sha256 = "0qmjjb6jsxmmf4gpw10r30rmrvwqgzirvvgyy41mz2vhgwis8wn6";
    };

  }."${coq.coq-version}"
; in

callPackage ./generic.nix {
  name = "coq${coq.coq-version}-mathcomp-${param.version}";
  src = fetchurl { inherit (param) url sha256; };
}