about summary refs log tree commit diff
path: root/pkgs/development/python-modules/bundlewrap-pass/default.nix
blob: 1a6101c10a725814eea88229ee3e785a4d95539a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  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 ];
  };
}