blob: 76ec4ed770b432f7b585805355988f6b2304a19b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "fnvhash";
version = "0.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "znerol";
repo = "py-fnvhash";
rev = "v${version}";
sha256 = "00h8i70qd3dpsyf2dp7fkcb9m2prd6m3l33qv3wf6idpnqgjz6fq";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fnvhash" ];
meta = with lib; {
description = "Python FNV hash implementation";
homepage = "https://github.com/znerol/py-fnvhash";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|