From 6e8656a0f8202ed6c72a84cbf8c6c3c19b0732ed Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 14 Mar 2024 14:27:27 +0000 Subject: [PATCH 1/2] python312Packages.pyreadstat: 1.2.6 -> 1.2.7 --- pkgs/development/python-modules/pyreadstat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyreadstat/default.nix b/pkgs/development/python-modules/pyreadstat/default.nix index e2c39b05b020..b49de99c62b7 100644 --- a/pkgs/development/python-modules/pyreadstat/default.nix +++ b/pkgs/development/python-modules/pyreadstat/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pyreadstat"; - version = "1.2.6"; + version = "1.2.7"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "Roche"; repo = "pyreadstat"; rev = "refs/tags/v${version}"; - hash = "sha256-VcPpGRrE/5udNijodO88Lw69JPOm6ZN7BZb4xD34srQ="; + hash = "sha256-XuLFLpZbaCj/MHq0+l6GoNqR5nAldAlEJhoO5ioWYTA="; }; nativeBuildInputs = [ cython ]; From 382e693a3e3543ea6dea0da93c06c0895c024c0f Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 13 Sep 2024 10:58:51 +0900 Subject: [PATCH 2/2] python312Packages.pyreadstat: switch to pypa build --- pkgs/development/python-modules/pyreadstat/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyreadstat/default.nix b/pkgs/development/python-modules/pyreadstat/default.nix index b49de99c62b7..12262cdff9cb 100644 --- a/pkgs/development/python-modules/pyreadstat/default.nix +++ b/pkgs/development/python-modules/pyreadstat/default.nix @@ -9,13 +9,14 @@ python, pythonOlder, readstat, + setuptools, zlib, }: buildPythonPackage rec { pname = "pyreadstat"; version = "1.2.7"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -26,11 +27,14 @@ buildPythonPackage rec { hash = "sha256-XuLFLpZbaCj/MHq0+l6GoNqR5nAldAlEJhoO5ioWYTA="; }; - nativeBuildInputs = [ cython ]; + build-system = [ + cython + setuptools + ]; buildInputs = [ zlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; - propagatedBuildInputs = [ + dependencies = [ readstat pandas ];