diff options
4 files changed, 115 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/bundlewrap-keepass/default.nix b/pkgs/development/python-modules/bundlewrap-keepass/default.nix new file mode 100644 index 0000000000000..82c09dbc1080d --- /dev/null +++ b/pkgs/development/python-modules/bundlewrap-keepass/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +, bundlewrap +, pykeepass +}: + +buildPythonPackage rec { + pname = "bundlewrap-keepass"; + version = "0.1.0"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-P41VtI8VIqSp1IXe7fzKDBGmmXmDLRm7v1qV1g35IC4"; + }; + + nativeBuildInputs = [ setuptools ]; + + propagatedBuildInputs = [ bundlewrap pykeepass ]; + + # upstream has no checks + doCheck = false; + + pythonImportsCheck = [ + "bwkeepass" + ]; + + meta = with lib; { + homepage = "https://pypi.org/project/bundlewrap-keepass"; + description = "Use secrets from keepass in your BundleWrap repo"; + license = licenses.gpl3; + maintainers = with maintainers; [ hexchen ]; + }; +} diff --git a/pkgs/development/python-modules/bundlewrap-pass/default.nix b/pkgs/development/python-modules/bundlewrap-pass/default.nix new file mode 100644 index 0000000000000..0b8068a149487 --- /dev/null +++ b/pkgs/development/python-modules/bundlewrap-pass/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +, bundlewrap +, pass +}: + +buildPythonPackage rec { + pname = "bundlewrap-pass"; + version = "1.0.2"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-3KmUTTOQ46TiKXNkKLRweMEe5m/zJ1gvAVJttJBdzik="; + }; + + nativeBuildInputs = [ setuptools ]; + + propagatedBuildInputs = [ bundlewrap pass ]; + + # upstream has no checks + doCheck = false; + + pythonImportsCheck = [ + "bwpass" + ]; + + meta = with lib; { + homepage = "https://pypi.org/project/bundlewrap-pass"; + description = "Use secrets from pass in your BundleWrap repo"; + license = licenses.gpl3; + maintainers = with maintainers; [ hexchen ]; + }; +} diff --git a/pkgs/development/python-modules/bundlewrap-teamvault/default.nix b/pkgs/development/python-modules/bundlewrap-teamvault/default.nix new file mode 100644 index 0000000000000..ca6dd419de486 --- /dev/null +++ b/pkgs/development/python-modules/bundlewrap-teamvault/default.nix @@ -0,0 +1,37 @@ +{ 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 = with lib; { + homepage = "https://github.com/trehn/bundlewrap-teamvault"; + description = "Pull secrets from TeamVault into your BundleWrap repo"; + license = [ licenses.gpl3 ] ; + maintainers = with maintainers; [ hexchen ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4731c7459fcdc..ba5e63ba9eccb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1804,6 +1804,12 @@ self: super: with self; { bundlewrap = callPackage ../development/python-modules/bundlewrap { }; + bundlewrap-keepass = callPackage ../development/python-modules/bundlewrap-keepass { }; + + bundlewrap-pass = callPackage ../development/python-modules/bundlewrap-pass { }; + + bundlewrap-teamvault = callPackage ../development/python-modules/bundlewrap-teamvault { }; + busypie = callPackage ../development/python-modules/busypie { }; bx-py-utils = callPackage ../development/python-modules/bx-py-utils { }; |