biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / fasteners / default.nix
blob4460c71f3c314a1bb4d32a6042bbd75d34fd31a7
2   lib,
3   buildPythonPackage,
4   diskcache,
5   eventlet,
6   fetchFromGitHub,
7   more-itertools,
8   pytestCheckHook,
9   pythonOlder,
10   setuptools,
13 buildPythonPackage rec {
14   pname = "fasteners";
15   version = "0.19";
16   format = "pyproject";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "harlowja";
22     repo = pname;
23     rev = "refs/tags/${version}";
24     hash = "sha256-XFa1ItFqkSYE940p/imWFp5e9gS6n+D1uM6Cj+Vzmmg=";
25   };
27   nativeBuildInputs = [ setuptools ];
29   nativeCheckInputs = [
30     diskcache
31     eventlet
32     more-itertools
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [ "fasteners" ];
38   pytestFlagsArray = [ "tests/" ];
40   meta = with lib; {
41     description = "Module that provides useful locks";
42     homepage = "https://github.com/harlowja/fasteners";
43     changelog = "https://github.com/harlowja/fasteners/releases/tag/${version}";
44     license = licenses.asl20;
45     maintainers = [ ];
46   };