1{
2 lib,
3 buildPythonPackage,
4 cryptography,
5 fetchPypi,
6 jeepney,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "secretstorage";
12 version = "3.3.3";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 pname = "SecretStorage";
19 inherit version;
20 hash = "sha256-JANTPvNp7KbSuoFxhXbF4PVk1cyhtY9zqLI+fU7uvXc=";
21 };
22
23 propagatedBuildInputs = [
24 cryptography
25 jeepney
26 ];
27
28 # Needs a D-Bus session
29 doCheck = false;
30
31 pythonImportsCheck = [ "secretstorage" ];
32
33 meta = with lib; {
34 description = "Python bindings to FreeDesktop.org Secret Service API";
35 homepage = "https://github.com/mitya57/secretstorage";
36 license = licenses.bsd3;
37 maintainers = with maintainers; [ teto ];
38 };
39}