git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.keyring: move out of python-packages.nix
commit37d3a4425e21d5734a37ca93ad2a0a7dfdc29c08 authorJörg Thalheim <joerg@thalheim.io> dateThu 7 Sep 2017, 09:54 (9 years ago) parenta8dca7b
2 files changed+38−28
pkgs/development/python-modules/keyring/default.nix+35 pkgs/top-level/python-packages.nix+3−28
pkgs/development/python-modules/keyring/default.nixnew file+35
@@ -0,0 +1,35 @@
1+{ stdenv, buildPythonPackage, fetchPypi
2+, secretstorage
3+, fs, gdata, python_keyczar, pyasn1, pycrypto, six, setuptools_scm
4+, mock, pytest_28, pytestrunner }:
5+
6+buildPythonPackage rec {
7+ name = "${pname}-${version}";
8+ pname = "keyring";
9+ version = "10.4.0";
10+
11+ src = fetchPypi {
12+ inherit pname version;
13+ sha256 = "09iv50c14mdmdk7sjd6bb47yg7347gymh6r8c0q4gfnzs173y6lh";
14+ };
15+
16+ buildInputs = [
17+ fs gdata python_keyczar pyasn1 pycrypto six setuptools_scm
18+ ];
19+
20+ checkInputs = [ mock pytest_28 pytestrunner ];
21+
22+ propagatedBuildInputs = [ secretstorage ];
23+
24+ checkPhase = ''
25+ py.test $out
26+ '';
27+
28+ meta = with stdenv.lib; {
29+ description = "Store and access your passwords safely";
30+ homepage = "https://pypi.python.org/pypi/keyring";
31+ license = licenses.psfl;
32+ maintainers = with maintainers; [ lovek323 ];
33+ platforms = platforms.unix;
34+ };
35+}
pkgs/top-level/python-packages.nix+3−28
@@ -11190,32 +11190,7 @@ in {
1119011190 };
1119111191 };
1119211192
11193− keyring = buildPythonPackage rec {
11194− name = "keyring-${version}";
11195− version = "10.4.0";
11196−
11197− src = pkgs.fetchurl {
11198− url = "mirror://pypi/k/keyring/${name}.tar.gz";
11199− sha256 = "09iv50c14mdmdk7sjd6bb47yg7347gymh6r8c0q4gfnzs173y6lh";
11200− };
11201−
11202− buildInputs = with self;
11203− [ fs gdata python_keyczar mock pyasn1 pycrypto pytest_28 six setuptools_scm pytestrunner ];
11204−
11205− propagatedBuildInputs = [ self.secretstorage ];
11206−
11207− checkPhase = ''
11208− py.test $out
11209− '';
11210−
11211− meta = {
11212− description = "Store and access your passwords safely";
11213− homepage = "https://pypi.python.org/pypi/keyring";
11214− license = licenses.psfl;
11215− maintainers = with maintainers; [ lovek323 ];
11216− platforms = platforms.unix;
11217− };
11218− };
11193+ keyring = callPackage ../development/python-modules/keyring { };
1121911194
1122011195 klaus = buildPythonPackage rec {
1122111196 version = "0.9.1";
@@ -27487,7 +27462,7 @@ EOF
2748727462
2748827463 preshed = callPackage ../development/python-modules/preshed { };
2748927464
27490− backports_weakref = callPackage ../development/python-modules/backports_weakref { };
27465+ backports_weakref = callPackage ../development/python-modules/backports_weakref { };
2749127466
2749227467 thinc = callPackage ../development/python-modules/thinc { };
2749327468
@@ -27496,7 +27471,7 @@ EOF
2749627471 behave = callPackage ../development/python-modules/behave { };
2749727472
2749827473 pyhamcrest = callPackage ../development/python-modules/pyhamcrest { };
27499−
27474+
2750027475 parse = callPackage ../development/python-modules/parse { };
2750127476
2750227477 parse-type = callPackage ../development/python-modules/parse-type { };