python3.pkgs.keyring: 23.0.0 -> 23.0.1
This commit is contained in:
parent
09147517ea
commit
2cb255c7ad
@ -1,42 +1,45 @@
|
|||||||
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27
|
{ lib, stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
||||||
, dbus-python
|
, setuptools-scm
|
||||||
, entrypoints
|
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
, pytest
|
, dbus-python
|
||||||
, pytest-flake8
|
, jeepney
|
||||||
, secretstorage
|
, secretstorage
|
||||||
, setuptools_scm
|
, pytestCheckHook
|
||||||
, toml
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "keyring";
|
pname = "keyring";
|
||||||
version = "23.0.0";
|
version = "23.0.1";
|
||||||
disabled = isPy27;
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "237ff44888ba9b3918a7dcb55c8f1db909c95b6f071bfb46c6918f33f453a68a";
|
sha256 = "045703609dd3fccfcdb27da201684278823b72af515aedec1a8515719a038cb8";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools_scm
|
setuptools-scm
|
||||||
toml
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ pytest pytest-flake8 ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ dbus-python entrypoints importlib-metadata ]
|
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
||||||
++ lib.optional stdenv.isLinux secretstorage;
|
importlib-metadata
|
||||||
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
|
dbus-python
|
||||||
|
jeepney
|
||||||
|
secretstorage
|
||||||
|
];
|
||||||
|
|
||||||
# checks try to access a darwin path on linux
|
pythonImportsCheck = [ "keyring" ];
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Store and access your passwords safely";
|
description = "Store and access your passwords safely";
|
||||||
homepage = "https://pypi.python.org/pypi/keyring";
|
homepage = "https://github.com/jaraco/keyring";
|
||||||
license = licenses.psfl;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ lovek323 ];
|
maintainers = with maintainers; [ lovek323 dotlambda ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user