blob: fa5f9d1bc908b16800feffd00ea7f5e149b9fef1 (
plain)
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
31
32
33
34
35
36
37
38
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "fnvhash";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "znerol";
repo = "py-fnvhash";
tag = "v${version}";
hash = "sha256-vAflKSvi0PD5r1q6GCTt6a4vTCsdBIebecRCKbbBphE=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fnvhash" ];
meta = {
changelog = "https://github.com/znerol/py-fnvhash/releases/tag/${src.tag}";
description = "Python FNV hash implementation";
homepage = "https://github.com/znerol/py-fnvhash";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|