python: keyring: 11.0.0 -> 12.0.0

This commit is contained in:
Frederik Rietdijk 2018-04-04 20:10:22 +02:00
parent fa05fc06f4
commit d9cc503245

View File

@ -1,30 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi { stdenv, buildPythonPackage, fetchPypi
, secretstorage , setuptools_scm, entrypoints, secretstorage
, fs, gdata, python_keyczar, pyasn1, pycrypto, six, setuptools_scm , pytest, pytest-flake8 }:
, mock, pytest, pytestrunner }:
buildPythonPackage rec { buildPythonPackage rec {
name = "${pname}-${version}";
pname = "keyring"; pname = "keyring";
version = "11.0.0"; version = "12.0.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "b4607520a7c97be96be4ddc00f4b9dac65f47a45af4b4cd13ed5a8879641d646"; sha256 = "846c9c709ee1203bac5444abec19b5228f4601377686f33cba672aa0ba313abd";
}; };
buildInputs = [ nativeBuildInputs = [ setuptools_scm ];
fs gdata python_keyczar pyasn1 pycrypto six setuptools_scm
];
checkInputs = [ mock pytest pytestrunner ]; checkInputs = [ pytest pytest-flake8 ];
propagatedBuildInputs = [ secretstorage ]; propagatedBuildInputs = [ entrypoints ] ++ stdenv.lib.optional stdenv.isLinux secretstorage;
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
checkPhase = '' checkPhase = ''
py.test $out py.test
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {