diff --git a/pkgs/development/python-modules/pyimpfuzzy/default.nix b/pkgs/development/python-modules/pyimpfuzzy/default.nix index 9cc07e89c3ae..b2614a3cb053 100644 --- a/pkgs/development/python-modules/pyimpfuzzy/default.nix +++ b/pkgs/development/python-modules/pyimpfuzzy/default.nix @@ -4,20 +4,26 @@ fetchPypi, ssdeep, pefile, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyimpfuzzy"; version = "0.5"; - format = "setuptools"; + pyproject = true; + + __structuredAttrs = true; src = fetchPypi { - inherit pname version; - sha256 = "da9796df302db4b04a197128637f84988f1882f1e08fdd69bbf9fdc6cfbaf349"; + pname = "pyimpfuzzy"; + inherit (finalAttrs) version; + hash = "sha256-2peW3zAttLBKGXEoY3+EmI8YgvHgj91pu/n9xs+680k="; }; + build-system = [ setuptools ]; + buildInputs = [ ssdeep ]; - propagatedBuildInputs = [ pefile ]; + dependencies = [ pefile ]; # no tests doCheck = false; @@ -30,4 +36,4 @@ buildPythonPackage rec { license = lib.licenses.gpl2Only; maintainers = [ ]; }; -} +})