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 }; 23 inherit version; 24 defaultVersion = 25 let 26 case = case: out: { inherit case out; }; 27 in 28 with lib.versions; 29 lib.switch coq.coq-version [ 30 (case (range "8.10" "9.1") "1.0.2") 31 (case (range "8.5" "8.14") "1.0.0") 32 ] null; 33 34 propagatedBuildInputs = [ mathcomp-boot ]; 35 36 meta = { 37 description = "Small library to do epsilon - N reasonning"; 38 license = lib.licenses.cecill-b; 39 }; 40}