1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "fnvhash";
9 version = "0.1.0";
10
11 src = fetchFromGitHub {
12 owner = "znerol";
13 repo = "py-fnvhash";
14 rev = "v${version}";
15 sha256 = "00h8i70qd3dpsyf2dp7fkcb9m2prd6m3l33qv3wf6idpnqgjz6fq";
16 };
17
18 checkInputs = [ pytestCheckHook ];
19
20 pythonImportsCheck = [ "fnvhash" ];
21
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 };
28}