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