infrastructure/machines/web02/cas-eleves/packages/loadcredential/default.nix
Tom Hubrecht 5668b6bbfd
Some checks failed
build configuration / build_storage01 (push) Successful in 1m14s
build configuration / build_vault01 (push) Successful in 1m15s
build configuration / build_compute01 (push) Successful in 1m17s
build configuration / build_rescue01 (push) Successful in 1m18s
build configuration / build_web01 (push) Successful in 1m30s
lint / check (push) Successful in 24s
build configuration / build_web02 (push) Failing after 2m13s
build configuration / push_to_cache (push) Has been skipped
feat(web02): Deploy a CAS server on cas-eleves.dgnum.eu
2024-07-02 20:54:45 +02:00

34 lines
763 B
Nix

{
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 ];
};
}