lol

ocamlPackages.shared-memory-ring: use Dune 3

+7 -5
+5 -5
pkgs/development/ocaml-modules/shared-memory-ring/default.nix
··· 2 2 , buildDunePackage 3 3 , fetchurl 4 4 , ppx_cstruct 5 - , mirage-profile 6 5 , cstruct 6 + , lwt 7 7 , ounit 8 - , stdlib-shims 9 8 }: 10 9 11 10 buildDunePackage rec { 12 11 pname = "shared-memory-ring"; 13 12 version = "3.1.1"; 13 + 14 + duneVersion = "3"; 14 15 15 16 src = fetchurl { 16 17 url = "https://github.com/mirage/shared-memory-ring/releases/download/v${version}/shared-memory-ring-${version}.tbz"; 17 - sha256 = "sha256-KW8grij/OAnFkdUdRRZF21X39DvqayzkTWeRKwF8uoU="; 18 + hash = "sha256-KW8grij/OAnFkdUdRRZF21X39DvqayzkTWeRKwF8uoU="; 18 19 }; 19 20 20 21 buildInputs = [ ··· 22 23 ]; 23 24 24 25 propagatedBuildInputs = [ 25 - mirage-profile 26 26 cstruct 27 - stdlib-shims 28 27 ]; 29 28 30 29 doCheck = true; 31 30 checkInputs = [ 31 + lwt 32 32 ounit 33 33 ]; 34 34
+2
pkgs/development/ocaml-modules/shared-memory-ring/lwt.nix
··· 14 14 15 15 inherit (shared-memory-ring) version src; 16 16 17 + duneVersion = "3"; 18 + 17 19 buildInputs = [ 18 20 ppx_cstruct 19 21 ];