nixpkgs/pkgs/development/python-modules/trustme/default.nix
R. RyanTM 56ecd04641 python37Packages.trustme: 0.5.1 -> 0.5.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-trustme/versions
2019-06-17 19:34:55 -07:00

29 lines
743 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k, cryptography, futures, pytest, pyopenssl, service-identity }:
buildPythonPackage rec {
pname = "trustme";
version = "0.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "103f8n0c60593r0z8hh1zvk1bagxwnhrv3203xpiiddwqxalr04b";
};
checkInputs = [ pytest pyopenssl service-identity ];
checkPhase = ''
py.test
'';
propagatedBuildInputs = [
cryptography
] ++ lib.optionals (!isPy3k) [
futures
];
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 ];
};
}