depot/third_party/nixpkgs/pkgs/development/python-modules/keyrings-alt/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

47 lines
770 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, isPy27
, six
, pytestCheckHook
, keyring
, setuptools-scm
}:
buildPythonPackage rec {
pname = "keyrings.alt";
version = "4.1.1";
format = "pyproject";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-6HFSuVYvqCK1Ew7jECVRK02m5tsNrzjIcFZtCLhK3tY=";
};
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 ];
};
}