python.pkgs.keyring: move out of python-packages.nix

This commit is contained in:
Jörg Thalheim 2017-09-07 09:54:07 +01:00
parent a8dca7bf8a
commit 37d3a4425e
2 changed files with 38 additions and 28 deletions

View File

@ -0,0 +1,35 @@
{ stdenv, buildPythonPackage, fetchPypi
, secretstorage
, fs, gdata, python_keyczar, pyasn1, pycrypto, six, setuptools_scm
, mock, pytest_28, pytestrunner }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "keyring";
version = "10.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "09iv50c14mdmdk7sjd6bb47yg7347gymh6r8c0q4gfnzs173y6lh";
};
buildInputs = [
fs gdata python_keyczar pyasn1 pycrypto six setuptools_scm
];
checkInputs = [ mock pytest_28 pytestrunner ];
propagatedBuildInputs = [ secretstorage ];
checkPhase = ''
py.test $out
'';
meta = with stdenv.lib; {
description = "Store and access your passwords safely";
homepage = "https://pypi.python.org/pypi/keyring";
license = licenses.psfl;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
}

View File

@ -11190,32 +11190,7 @@ in {
};
};
keyring = buildPythonPackage rec {
name = "keyring-${version}";
version = "10.4.0";
src = pkgs.fetchurl {
url = "mirror://pypi/k/keyring/${name}.tar.gz";
sha256 = "09iv50c14mdmdk7sjd6bb47yg7347gymh6r8c0q4gfnzs173y6lh";
};
buildInputs = with self;
[ fs gdata python_keyczar mock pyasn1 pycrypto pytest_28 six setuptools_scm pytestrunner ];
propagatedBuildInputs = [ self.secretstorage ];
checkPhase = ''
py.test $out
'';
meta = {
description = "Store and access your passwords safely";
homepage = "https://pypi.python.org/pypi/keyring";
license = licenses.psfl;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
};
keyring = callPackage ../development/python-modules/keyring { };
klaus = buildPythonPackage rec {
version = "0.9.1";
@ -27487,7 +27462,7 @@ EOF
preshed = callPackage ../development/python-modules/preshed { };
backports_weakref = callPackage ../development/python-modules/backports_weakref { };
backports_weakref = callPackage ../development/python-modules/backports_weakref { };
thinc = callPackage ../development/python-modules/thinc { };
@ -27496,7 +27471,7 @@ EOF
behave = callPackage ../development/python-modules/behave { };
pyhamcrest = callPackage ../development/python-modules/pyhamcrest { };
parse = callPackage ../development/python-modules/parse { };
parse-type = callPackage ../development/python-modules/parse-type { };