Merge pull request #310634 from Tom-Hubrecht/loadcredential

This commit is contained in:
Julien Malka
2024-05-10 20:13:22 +02:00
committed by GitHub
2 changed files with 36 additions and 0 deletions
@@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "loadcredential";
version = "1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Tom-Hubrecht";
repo = "loadcredential";
rev = "v${version}";
hash = "sha256-GXpMqGLDmDnTGa9cBYe0CP3Evm5sQ3AK9u6k3mLAW34=";
};
build-system = [
setuptools
wheel
];
pythonImportsCheck = [ "loadcredential" ];
meta = {
description = "A simple python package to read credentials passed through systemd's LoadCredential, with a fallback on env variables ";
homepage = "https://github.com/Tom-Hubrecht/loadcredential";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ thubrecht ];
};
}
+2
View File
@@ -6964,6 +6964,8 @@ self: super: with self; {
lnkparse3 = callPackage ../development/python-modules/lnkparse3 { };
loadcredential = callPackage ../development/python-modules/loadcredential { };
loca = callPackage ../development/python-modules/loca { };
localimport = callPackage ../development/python-modules/localimport { };