1{ lib
2, buildPythonPackage
3, fetchPypi
4, jaraco-classes
5, keyring
6, pytestCheckHook
7, pythonOlder
8, setuptools-scm
9}:
10
11buildPythonPackage rec {
12 pname = "keyrings-alt";
13 version = "5.0.0";
14 format = "pyproject";
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 pname = "keyrings.alt";
20 inherit version;
21 hash = "sha256-nURstHu86pD/ouzD6AA6z0FXP8IBv0S0vxO9DhFISCg=";
22 };
23
24 nativeBuildInputs = [
25 setuptools-scm
26 ];
27
28 propagatedBuildInputs = [
29 jaraco-classes
30 ];
31
32 nativeCheckInputs = [
33 pytestCheckHook
34 keyring
35 ];
36
37 pythonImportsCheck = [
38 "keyrings.alt"
39 ];
40
41 meta = with lib; {
42 description = "Alternate keyring implementations";
43 homepage = "https://github.com/jaraco/keyrings.alt";
44 changelog = "https://github.com/jaraco/keyrings.alt/blob/v${version}/NEWS.rst";
45 license = licenses.mit;
46 maintainers = with maintainers; [ nyarly ];
47 };
48}