Unverified Commit 3dfe42d7 authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #266258 from hexchen/bundlewrap-foo

bundlewrap-{keepass,pass,teamvault}: init at latest releases
parents 9473eaab 159fb644
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+36 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+37 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+6 −0
Original line number Diff line number Diff line
@@ -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 { };