open62541pp: 0.16.0 -> 0.17.0 (#374938)
[NixPkgs.git] / pkgs / development / python-modules / fnv-hash-fast / default.nix
blobeae74526e963cae2d67c40315f9517cab458b9e1
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   cython,
6   poetry-core,
7   setuptools,
8   fnvhash,
9   pytest-cov-stub,
10   pytestCheckHook,
13 buildPythonPackage rec {
14   pname = "fnv-hash-fast";
15   version = "1.0.2";
16   pyproject = true;
18   src = fetchFromGitHub {
19     owner = "bdraco";
20     repo = "fnv-hash-fast";
21     tag = "v${version}";
22     hash = "sha256-kJQZnj1ja7cVZSDOuUI3rkNIvyH508wFKAvJ5XfwCNU=";
23   };
25   build-system = [
26     cython
27     poetry-core
28     setuptools
29   ];
31   dependencies = [ fnvhash ];
33   pythonImportsCheck = [ "fnv_hash_fast" ];
35   nativeCheckInputs = [
36     pytest-cov-stub
37     pytestCheckHook
38   ];
40   meta = with lib; {
41     description = "Fast version of fnv1a";
42     homepage = "https://github.com/bdraco/fnv-hash-fast";
43     changelog = "https://github.com/bdraco/fnv-hash-fast/blob/${src.rev}/CHANGELOG.md";
44     license = licenses.mit;
45     maintainers = with maintainers; [ hexa ];
46   };