567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
41 lines
732 B
Nix
41 lines
732 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
bundlewrap,
|
|
passlib,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bundlewrap-teamvault";
|
|
version = "3.1.5";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-kwJnfPMIhQsahIZFVtFb/YFgMUrnDt8t8+eJrig/ZTU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
bundlewrap
|
|
passlib
|
|
requests
|
|
];
|
|
|
|
# upstream has no checks
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "bwtv" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/trehn/bundlewrap-teamvault";
|
|
description = "Pull secrets from TeamVault into your BundleWrap repo";
|
|
license = [ lib.licenses.gpl3 ];
|
|
maintainers = [ ];
|
|
};
|
|
}
|