blob: 0f99152766a3259e7e31b3337b0723e1dd062c8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ stdenv, buildPythonPackage, fetchPypi
, secretstorage
, fs, gdata, python_keyczar, pyasn1, pycrypto, six, setuptools_scm
, mock, pytest, pytestrunner }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "keyring";
version = "10.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "69c2b69d66a0db1165c6875c1833c52f4dc62179959692b30c8c4a4b8390d895";
};
buildInputs = [
fs gdata python_keyczar pyasn1 pycrypto six setuptools_scm
];
checkInputs = [ mock pytest pytestrunner ];
propagatedBuildInputs = [ secretstorage ];
doCheck = !stdenv.isDarwin;
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;
};
}
|