From 5b8d77fb31e760ff5686b8326c3805066655eff0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 17 Nov 2022 13:57:55 +0000 Subject: [PATCH 1/2] python310Packages.clickhouse-cityhash: 1.0.2.3 -> 1.0.2.4 --- .../python-modules/clickhouse-cityhash/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/clickhouse-cityhash/default.nix b/pkgs/development/python-modules/clickhouse-cityhash/default.nix index 4e632cb34038..c4444f3bc792 100644 --- a/pkgs/development/python-modules/clickhouse-cityhash/default.nix +++ b/pkgs/development/python-modules/clickhouse-cityhash/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "clickhouse-cityhash"; - version = "1.0.2.3"; + version = "1.0.2.4"; src = fetchPypi { inherit pname version; - sha256 = "0z8nl0ly2p1h6nygwxs6y40q8y424w40fkjv3jyf8vvcg4h7sdrg"; + sha256 = "sha256-ezEl19CqE8LMTnWDqWWmv7CqlqEhMUdbRCVSustV9Pg="; }; propagatedBuildInputs = [ setuptools ]; From 245f3913e32be3ef9dd62020ed39bd649b576cc4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 19 Nov 2022 11:31:44 +0100 Subject: [PATCH 2/2] python310Packages.clickhouse-cityhash: disable on older Python releases --- .../python-modules/clickhouse-cityhash/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/clickhouse-cityhash/default.nix b/pkgs/development/python-modules/clickhouse-cityhash/default.nix index c4444f3bc792..73be71e67e5b 100644 --- a/pkgs/development/python-modules/clickhouse-cityhash/default.nix +++ b/pkgs/development/python-modules/clickhouse-cityhash/default.nix @@ -2,21 +2,30 @@ , buildPythonPackage , fetchPypi , setuptools +, pythonOlder }: buildPythonPackage rec { pname = "clickhouse-cityhash"; version = "1.0.2.4"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; sha256 = "sha256-ezEl19CqE8LMTnWDqWWmv7CqlqEhMUdbRCVSustV9Pg="; }; - propagatedBuildInputs = [ setuptools ]; + propagatedBuildInputs = [ + setuptools + ]; doCheck = false; - pythonImportsCheck = [ "clickhouse_cityhash" ]; + + pythonImportsCheck = [ + "clickhouse_cityhash" + ]; meta = with lib; { description = "Python-bindings for CityHash, a fast non-cryptographic hash algorithm";