Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / clickhouse-cityhash / default.nix
blob770d4e76fb7283ada5a116346983e1e22f30b2b9
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "clickhouse-cityhash";
10   version = "1.0.2.4";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-ezEl19CqE8LMTnWDqWWmv7CqlqEhMUdbRCVSustV9Pg=";
18   };
20   propagatedBuildInputs = [
21     setuptools
22   ];
24   doCheck = false;
26   pythonImportsCheck = [
27     "clickhouse_cityhash"
28   ];
30   meta = with lib; {
31     description = "Python-bindings for CityHash, a fast non-cryptographic hash algorithm";
32     homepage = "https://github.com/xzkostyan/python-cityhash";
33     license = licenses.upl;
34     maintainers = with maintainers; [ breakds ];
35   };