Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / fnvhash / default.nix
blobe54b49ddc8eabc9bfbe3672a6ffd1bc831f62649
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "fnvhash";
9   version = "0.1.0";
11   src = fetchFromGitHub {
12     owner = "znerol";
13     repo = "py-fnvhash";
14     rev = "v${version}";
15     sha256 = "00h8i70qd3dpsyf2dp7fkcb9m2prd6m3l33qv3wf6idpnqgjz6fq";
16   };
18   nativeCheckInputs = [ pytestCheckHook ];
20   pythonImportsCheck = [ "fnvhash" ];
22   meta = with lib; {
23     description = "Python FNV hash implementation";
24     homepage = "https://github.com/znerol/py-fnvhash";
25     license = with licenses; [ mit ];
26     maintainers = with maintainers; [ fab ];
27   };