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