diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2017-09-07 09:54:07 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2017-09-07 09:54:07 +0100 |
commit | 37d3a4425e21d5734a37ca93ad2a0a7dfdc29c08 (patch) | |
tree | 40aada2c2726fe534553a6f7c4c00db23194807e /pkgs/development/python-modules/keyring | |
parent | a8dca7bf8aeb8e803fe2305ce0f9b493fcfefdde (diff) | |
download | nixlib-37d3a4425e21d5734a37ca93ad2a0a7dfdc29c08.tar nixlib-37d3a4425e21d5734a37ca93ad2a0a7dfdc29c08.tar.gz nixlib-37d3a4425e21d5734a37ca93ad2a0a7dfdc29c08.tar.bz2 nixlib-37d3a4425e21d5734a37ca93ad2a0a7dfdc29c08.tar.lz nixlib-37d3a4425e21d5734a37ca93ad2a0a7dfdc29c08.tar.xz nixlib-37d3a4425e21d5734a37ca93ad2a0a7dfdc29c08.tar.zst nixlib-37d3a4425e21d5734a37ca93ad2a0a7dfdc29c08.zip |
python.pkgs.keyring: move out of python-packages.nix
Diffstat (limited to 'pkgs/development/python-modules/keyring')
-rw-r--r-- | pkgs/development/python-modules/keyring/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/keyring/default.nix b/pkgs/development/python-modules/keyring/default.nix new file mode 100644 index 000000000000..35bfd603f413 --- /dev/null +++ b/pkgs/development/python-modules/keyring/default.nix @@ -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; + }; +} |