Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / fnvhash / default.nix
blobac80ac564fa174a1e00118c4de04d6ae0b32c99e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "fnvhash";
9   version = "0.1.0";
10   format = "setuptools";
12   src = fetchFromGitHub {
13     owner = "znerol";
14     repo = "py-fnvhash";
15     rev = "v${version}";
16     sha256 = "00h8i70qd3dpsyf2dp7fkcb9m2prd6m3l33qv3wf6idpnqgjz6fq";
17   };
19   nativeCheckInputs = [ pytestCheckHook ];
21   pythonImportsCheck = [ "fnvhash" ];
23   meta = with lib; {
24     description = "Python FNV hash implementation";
25     homepage = "https://github.com/znerol/py-fnvhash";
26     license = with licenses; [ mit ];
27     maintainers = with maintainers; [ fab ];
28   };