summary refs log tree commit diff
path: root/pkgs/development/python-modules/credstash/default.nix
blob: 8be1780aa9922879f96133792a5fba0d4dfd15df (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
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, cryptography, boto3, pyyaml, docutils }:

buildPythonPackage rec {
  pname = "credstash";
  version = "1.14.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "718b337f7a6fa001e014386071f05c59900525d0507009126d2fe8d75fe0761d";
  };

  patches = fetchpatch {
    url = https://github.com/fugue/credstash/pull/178.patch;
    sha256 = "15ih4h5v63g7qfmqdl4zca147wkcrx8vnsh4ns33001dipcfb5sc";
    excludes = [ ".travis.yml" ];
  };

  propagatedBuildInputs = [ cryptography boto3 pyyaml docutils ];

  # No tests in archive
  doCheck = false;

  meta = with stdenv.lib; {
    description = "A utility for managing secrets in the cloud using AWS KMS and DynamoDB";
    homepage = https://github.com/LuminalOSS/credstash;
    license = licenses.asl20;
  };
}