depot/third_party/nixpkgs/pkgs/development/python-modules/keyrings-alt/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

48 lines
904 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jaraco-classes
, keyring
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "keyrings-alt";
version = "5.0.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "keyrings.alt";
inherit version;
hash = "sha256-nURstHu86pD/ouzD6AA6z0FXP8IBv0S0vxO9DhFISCg=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
jaraco-classes
];
nativeCheckInputs = [
pytestCheckHook
keyring
];
pythonImportsCheck = [
"keyrings.alt"
];
meta = with lib; {
description = "Alternate keyring implementations";
homepage = "https://github.com/jaraco/keyrings.alt";
changelog = "https://github.com/jaraco/keyrings.alt/blob/v${version}/NEWS.rst";
license = licenses.mit;
maintainers = with maintainers; [ nyarly ];
};
}