1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, setuptools
5, diskcache
6, more-itertools
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "fasteners";
12 version = "0.17.3";
13 format = "pyproject";
14
15 src = fetchFromGitHub {
16 owner = "harlowja";
17 repo = pname;
18 rev = version;
19 hash = "sha256-FVhHp8BZ/wQQyr5AcuDo94LlflixhjZ0SnheSdHuDVQ=";
20 };
21
22 nativeBuildInputs = [
23 setuptools
24 ];
25
26 checkInputs = [
27 diskcache
28 more-itertools
29 pytestCheckHook
30 ];
31
32 meta = with lib; {
33 description = "A python package that provides useful locks";
34 homepage = "https://github.com/harlowja/fasteners";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ ];
37 };
38
39}