nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 coq,
3 mkCoqDerivation,
4 mathcomp-boot,
5 lib,
6 version ? null,
7}:
8
9mkCoqDerivation {
10
11 namePrefix = [
12 "coq"
13 "mathcomp"
14 ];
15 pname = "bigenough";
16 owner = "math-comp";
17
18 release = {
19 "1.0.0".sha256 = "10g0gp3hk7wri7lijkrqna263346wwf6a3hbd4qr9gn8hmsx70wg";
20 "1.0.1".sha256 = "sha256:02f4dv4rz72liciwxb2k7acwx6lgqz4381mqyq5854p3nbyn06aw";
21 "1.0.2".sha256 = "sha256-fJ/5xr91VtvpIoaFwb3PlnKl6UHG6GEeBRVGZrVLMU0=";
22 "1.0.3".sha256 = "sha256-9ObUoaavnninL72r5iqkLz7lJBpcKXXi8LXKGhgx/N4=";
23 };
24 inherit version;
25 defaultVersion =
26 let
27 case = case: out: { inherit case out; };
28 in
29 with lib.versions;
30 lib.switch coq.coq-version [
31 (case (range "8.10" "9.1") "1.0.3")
32 (case (range "8.10" "9.1") "1.0.2")
33 (case (range "8.5" "8.14") "1.0.0")
34 ] null;
35
36 propagatedBuildInputs = [ mathcomp-boot ];
37
38 meta = {
39 description = "Small library to do epsilon - N reasonning";
40 license = lib.licenses.cecill-b;
41 };
42}