From 148cf58797867c172cefd84a6543344cad0e4400 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Fri, 6 Jan 2023 11:39:59 -0500 Subject: [PATCH] pythonPackages.keyrings-passwordstore: init at 0.1.0 --- .../keyrings-passwordstore/default.nix | 38 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 40 insertions(+) create mode 100644 pkgs/development/python-modules/keyrings-passwordstore/default.nix diff --git a/pkgs/development/python-modules/keyrings-passwordstore/default.nix b/pkgs/development/python-modules/keyrings-passwordstore/default.nix new file mode 100644 index 000000000000..1fee44c15af0 --- /dev/null +++ b/pkgs/development/python-modules/keyrings-passwordstore/default.nix @@ -0,0 +1,38 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder + +, keyring +, setuptools-scm +}: + +buildPythonPackage rec { + pname = "keyrings.passwordstore"; + version = "0.1.0"; + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-pylZw45FUtLHzUV4cDyl/nT8tCZwNj4Jf41MMlyskoU="; + }; + + nativeBuildInputs = [ + setuptools-scm + ]; + + checkInputs = [ + keyring + ]; + + pythonImportsCheck = [ + "keyrings.passwordstore.backend" + ]; + + meta = { + license = lib.licenses.mit; + description = "Keyring backend for password-store"; + homepage = "https://github.com/stv0g/keyrings.passwordstore"; + maintainers = [ lib.maintainers.shlevy ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1093377fe44f..cdb5b38c7b6c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5052,6 +5052,8 @@ self: super: with self; { keystone-engine = callPackage ../development/python-modules/keystone-engine { }; + keyrings-passwordstore = callPackage ../development/python-modules/keyrings-passwordstore { }; + keystoneauth1 = callPackage ../development/python-modules/keystoneauth1 { }; keyutils = callPackage ../development/python-modules/keyutils {