pythonPackages.trustme: init at 0.4.0

This commit is contained in:
Spencer Baugh 2018-05-11 16:38:30 +00:00
parent 46fa7ab686
commit c983bbb557
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, cryptography, pytest, pyopenssl, service-identity }:
buildPythonPackage rec {
pname = "trustme";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "1215vr6l6c0fzsv5gyay82fxd4fidvq2rd94wvjrljs6h2wajazk";
};
checkInputs = [ pytest pyopenssl service-identity ];
checkPhase = ''
py.test
'';
propagatedBuildInputs = [
cryptography
];
meta = {
description = "#1 quality TLS certs while you wait, for the discerning tester";
homepage = https://github.com/python-trio/trustme;
license = with lib.licenses; [ mit asl20 ];
maintainers = with lib.maintainers; [ catern ];
};
}

View File

@ -438,6 +438,8 @@ in {
hdf5 = pkgs.hdf5.override { zlib = pkgs.zlib; };
};
trustme = callPackage ../development/python-modules/trustme {};
tokenserver = callPackage ../development/python-modules/tokenserver {};
toml = callPackage ../development/python-modules/toml { };