diff options
author | Samuel Leathers <sam@appliedtrust.com> | 2017-09-13 21:30:40 -0400 |
---|---|---|
committer | Samuel Leathers <sam@appliedtrust.com> | 2017-09-14 03:47:04 -0400 |
commit | dabf89fadddd334aeefe033991c91c9232bd0cc6 (patch) | |
tree | 7b195c5dae65e3ad798e46c2c2f10fbe938f3f7e /pkgs | |
parent | a7637b37955f1beacfe6c0b153fb11e086bb4762 (diff) |
credstash: 1.13.2 -> 1.13.3
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/credstash/default.nix | 23 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 22 |
2 files changed, 24 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/credstash/default.nix b/pkgs/development/python-modules/credstash/default.nix new file mode 100644 index 0000000000000..9f61018ceabba --- /dev/null +++ b/pkgs/development/python-modules/credstash/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchPypi, cryptography, boto3, pyyaml, docutils }: + +buildPythonPackage rec { + pname = "credstash"; + version = "1.13.3"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1x2dh4rs5sahb8h2xznhq7srcm2zl9ykc72a8iqpq4dz7l9k7x7i"; + }; + + 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; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9edf6571a527a..7ba293f521bb7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3254,27 +3254,7 @@ in { }; }; - credstash = buildPythonPackage rec { - pname = "credstash"; - version = "1.13.2"; - name = "${pname}-${version}"; - - src = pkgs.fetchurl { - url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; - sha256 = "b6283e565e3e441e8f74efcca54ece9697db16ce2e930fb5b6f7c0ab929c377e"; - }; - - propagatedBuildInputs = with self; [ cryptography boto3 pyyaml docutils ]; - - # No tests in archive - doCheck = false; - - meta = { - description = "A utility for managing secrets in the cloud using AWS KMS and DynamoDB"; - homepage = https://github.com/LuminalOSS/credstash; - license = licenses.asl20; - }; - }; + credstash = callPackage ../development/python-modules/credstash { }; cython = callPackage ../development/python-modules/Cython { }; |