mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 03:53:56 +00:00
0215034f25
when they already rely on SRI hashes.
37 lines
714 B
Nix
37 lines
714 B
Nix
{ lib
|
|
, 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;
|
|
hash = "sha256-ezEl19CqE8LMTnWDqWWmv7CqlqEhMUdbRCVSustV9Pg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"clickhouse_cityhash"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python-bindings for CityHash, a fast non-cryptographic hash algorithm";
|
|
homepage = "https://github.com/xzkostyan/python-cityhash";
|
|
license = licenses.upl;
|
|
maintainers = with maintainers; [ breakds ];
|
|
};
|
|
}
|