3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/keyring/default.nix

43 lines
949 B
Nix
Raw Normal View History

2021-03-24 19:11:40 +00:00
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27
, dbus-python
, entrypoints
, importlib-metadata
, pytest
, pytest-flake8
, secretstorage
, setuptools_scm
2020-06-11 11:38:23 +01:00
, toml
}:
buildPythonPackage rec {
pname = "keyring";
version = "23.0.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "237ff44888ba9b3918a7dcb55c8f1db909c95b6f071bfb46c6918f33f453a68a";
};
2020-06-11 11:38:23 +01:00
nativeBuildInputs = [
setuptools_scm
toml
];
2018-04-04 19:10:22 +01:00
checkInputs = [ pytest pytest-flake8 ];
2021-03-24 19:11:40 +00:00
propagatedBuildInputs = [ dbus-python entrypoints importlib-metadata ]
++ lib.optional stdenv.isLinux secretstorage;
# checks try to access a darwin path on linux
doCheck = false;
meta = with 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;
};
}