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