nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocamlPackages.uring: 0.9 → 2.7.0

+19 -4
+19 -4
pkgs/development/ocaml-modules/uring/default.nix
··· 1 1 { 2 2 lib, 3 + ocaml, 4 + version ? if lib.versionAtLeast ocaml.version "5.1" then "2.7.0" else "0.9", 3 5 buildDunePackage, 4 6 cstruct, 5 7 dune-configurator, ··· 11 9 mdx, 12 10 }: 13 11 12 + let 13 + param = 14 + { 15 + "0.9" = { 16 + minimalOCamlVersion = "4.12"; 17 + hash = "sha256-eXWIxfL9UsKKf4sanBjKfr6Od4fPDctVnkU+wjIXW0M="; 18 + }; 19 + "2.7.0" = { 20 + minimalOCamlVersion = "5.1.0"; 21 + hash = "sha256-mePi6/TXtxgtLYLyHRAdnRcgeldCVgUaPY+MZXSzC6U="; 22 + }; 23 + } 24 + .${version}; 25 + in 14 26 buildDunePackage rec { 15 27 pname = "uring"; 16 - version = "0.9"; 17 - 18 - minimalOCamlVersion = "4.12"; 28 + inherit version; 29 + inherit (param) minimalOCamlVersion; 19 30 20 31 src = fetchurl { 21 32 url = "https://github.com/ocaml-multicore/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz"; 22 - hash = "sha256-eXWIxfL9UsKKf4sanBjKfr6Od4fPDctVnkU+wjIXW0M="; 33 + inherit (param) hash; 23 34 }; 24 35 25 36 propagatedBuildInputs = [