diff --git a/pkgs/development/ocaml-modules/safepass/default.nix b/pkgs/development/ocaml-modules/safepass/default.nix index 363c8edf71ee..45d89da7f9bb 100644 --- a/pkgs/development/ocaml-modules/safepass/default.nix +++ b/pkgs/development/ocaml-modules/safepass/default.nix @@ -4,24 +4,22 @@ buildDunePackage, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "safepass"; version = "3.1"; - useDune2 = true; - src = fetchFromGitHub { owner = "darioteixeira"; repo = "ocaml-safepass"; - rev = "v${version}"; - sha256 = "1cwslwdb1774lfmhcclj9kymvidbcpjx1vp16jnjirqdqgl4zs5q"; + tag = "v${finalAttrs.version}"; + hash = "sha256-uOhP6MMN5yitNOHu0OVlq8Vd/UySMgaro+ScsBqnmrM="; }; meta = { - inherit (src.meta) homepage; + homepage = "https://github.com/darioteixeira/ocaml-safepass"; description = "OCaml library offering facilities for the safe storage of user passwords"; license = lib.licenses.lgpl21; maintainers = with lib.maintainers; [ vbgl ]; }; -} +})