2018-03-18 11:53:48 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, cryptography, boto3, pyyaml, docutils }:
|
2017-09-14 02:30:40 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-03-18 11:53:48 +00:00
|
|
|
pname = "credstash";
|
2017-12-30 11:21:54 +00:00
|
|
|
version = "1.14.0";
|
2017-09-14 02:30:40 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 11:21:54 +00:00
|
|
|
sha256 = "718b337f7a6fa001e014386071f05c59900525d0507009126d2fe8d75fe0761d";
|
2017-09-14 02:30:40 +01:00
|
|
|
};
|
|
|
|
|
2018-03-18 11:53:48 +00:00
|
|
|
patches = fetchpatch {
|
|
|
|
url = https://github.com/fugue/credstash/pull/178.patch;
|
|
|
|
sha256 = "15ih4h5v63g7qfmqdl4zca147wkcrx8vnsh4ns33001dipcfb5sc";
|
|
|
|
excludes = [ ".travis.yml" ];
|
|
|
|
};
|
|
|
|
|
2017-09-14 02:30:40 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|