python3Packages.keyringer: add importlib-metadata dependency
This commit is contained in:
parent
9b86ffa46a
commit
599fa2754b
@ -1,6 +1,12 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, isPy27
|
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27, pythonOlder
|
||||||
, dbus-python, setuptools_scm, entrypoints, secretstorage
|
, dbus-python
|
||||||
, pytest, pytest-flake8 }:
|
, entrypoints
|
||||||
|
, importlib-metadata
|
||||||
|
, pytest
|
||||||
|
, pytest-flake8
|
||||||
|
, secretstorage
|
||||||
|
, setuptools_scm
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "keyring";
|
pname = "keyring";
|
||||||
@ -16,12 +22,14 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [ pytest pytest-flake8 ];
|
checkInputs = [ pytest pytest-flake8 ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ dbus-python entrypoints ] ++ stdenv.lib.optional stdenv.isLinux secretstorage;
|
propagatedBuildInputs = [ dbus-python entrypoints ]
|
||||||
|
++ lib.optional stdenv.isLinux secretstorage
|
||||||
|
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||||
|
|
||||||
# checks try to access a darwin path on linux
|
# checks try to access a darwin path on linux
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.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://pypi.python.org/pypi/keyring";
|
||||||
license = licenses.psfl;
|
license = licenses.psfl;
|
||||||
|
Loading…
Reference in New Issue
Block a user