mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 06:08:16 +03:00
python310Packages.clickhouse-cityhash: disable on older Python releases
This commit is contained in:
parent
5b8d77fb31
commit
245f3913e3
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user