diff --git a/pkgs/development/ocaml-modules/camlp-streams/default.nix b/pkgs/development/ocaml-modules/camlp-streams/default.nix index cabccf89e7fc..9457682b189e 100644 --- a/pkgs/development/ocaml-modules/camlp-streams/default.nix +++ b/pkgs/development/ocaml-modules/camlp-streams/default.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "camlp-streams"; version = "5.0.1"; src = fetchFromGitHub { owner = "ocaml"; - repo = pname; - rev = "v${version}"; + repo = "camlp-streams"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-kHuFBqu0mjFv53sOtmFZcX2reo5ToaOpItP7P53bfGQ="; }; @@ -21,4 +21,4 @@ buildDunePackage rec { maintainers = [ lib.maintainers.vbgl ]; }; -} +})