5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
47 lines
770 B
Nix
47 lines
770 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, isPy27
|
|
, six
|
|
|
|
, pytestCheckHook
|
|
, keyring
|
|
, setuptools-scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "keyrings.alt";
|
|
version = "4.2.0";
|
|
format = "pyproject";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-K6PVZEG6Bjf1+cCWBo9nAQrART+dC2Jt4qowGTU7ZDE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
keyring
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"keyrings.alt"
|
|
];
|
|
|
|
meta = with lib; {
|
|
license = licenses.mit;
|
|
description = "Alternate keyring implementations";
|
|
homepage = "https://github.com/jaraco/keyrings.alt";
|
|
maintainers = with maintainers; [ nyarly ];
|
|
};
|
|
}
|