1{ stdenv, buildPythonPackage, fetchPypi 2, secretstorage 3, fs, gdata, python_keyczar, pyasn1, pycrypto, six, setuptools_scm 4, mock, pytest, pytestrunner }: 5 6buildPythonPackage rec { 7 name = "${pname}-${version}"; 8 pname = "keyring"; 9 version = "11.0.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "b4607520a7c97be96be4ddc00f4b9dac65f47a45af4b4cd13ed5a8879641d646"; 14 }; 15 16 buildInputs = [ 17 fs gdata python_keyczar pyasn1 pycrypto six setuptools_scm 18 ]; 19 20 checkInputs = [ mock pytest pytestrunner ]; 21 22 propagatedBuildInputs = [ secretstorage ]; 23 24 doCheck = !stdenv.isDarwin; 25 26 checkPhase = '' 27 py.test $out 28 ''; 29 30 meta = with stdenv.lib; { 31 description = "Store and access your passwords safely"; 32 homepage = "https://pypi.python.org/pypi/keyring"; 33 license = licenses.psfl; 34 maintainers = with maintainers; [ lovek323 ]; 35 platforms = platforms.unix; 36 }; 37}