nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python310Packages.clickhouse-cityhash: disable on older Python releases

authored by

Fabian Affolter and committed by
GitHub
245f3913 5b8d77fb

+11 -2
+11 -2
pkgs/development/python-modules/clickhouse-cityhash/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , setuptools 5 + , pythonOlder 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "clickhouse-cityhash"; 9 10 version = "1.0.2.4"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 10 14 11 15 src = fetchPypi { 12 16 inherit pname version; 13 17 sha256 = "sha256-ezEl19CqE8LMTnWDqWWmv7CqlqEhMUdbRCVSustV9Pg="; 14 18 }; 15 19 16 - propagatedBuildInputs = [ setuptools ]; 20 + propagatedBuildInputs = [ 21 + setuptools 22 + ]; 17 23 18 24 doCheck = false; 19 - pythonImportsCheck = [ "clickhouse_cityhash" ]; 25 + 26 + pythonImportsCheck = [ 27 + "clickhouse_cityhash" 28 + ]; 20 29 21 30 meta = with lib; { 22 31 description = "Python-bindings for CityHash, a fast non-cryptographic hash algorithm";