1 { lib, stdenv, buildPythonPackage, fetchPypi, isPy27, pythonOlder
12 buildPythonPackage rec {
18 inherit pname version;
19 sha256 = "207bd66f2a9881c835dad653da04e196c678bf104f8252141d2d3c4f31051579";
27 checkInputs = [ pytest pytest-flake8 ];
29 propagatedBuildInputs = [ dbus-python entrypoints ]
30 ++ lib.optional stdenv.isLinux secretstorage
31 ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
33 # checks try to access a darwin path on linux
37 description = "Store and access your passwords safely";
38 homepage = "https://pypi.python.org/pypi/keyring";
39 license = licenses.psfl;
40 maintainers = with maintainers; [ lovek323 ];
41 platforms = platforms.unix;