python311Packages.truststore: init at 0.7.0

This commit is contained in:
Anthony Roussel 2023-08-16 07:06:12 +02:00
parent 5827e58a22
commit 67a16a0e60
No known key found for this signature in database
GPG key ID: 9DC4987B1A55E75E
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, aiohttp
, httpx
, pyopenssl
, requests
, trustme
}:
buildPythonPackage rec {
pname = "truststore";
version = "0.7.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "sethmlarson";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-Q3HSHcqoG2DEXujL05lj3GLNu4jJ61i7VFxMou8c0cE=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
aiohttp
httpx
pyopenssl
requests
trustme
];
# tests requires networking
doCheck = false;
meta = with lib; {
homepage = "https://github.com/sethmlarson/truststore";
description = "Verify certificates using native system trust stores";
changelog = "https://github.com/sethmlarson/truststore/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ anthonyroussel ];
};
}

View file

@ -12904,6 +12904,8 @@ self: super: with self; {
trustme = callPackage ../development/python-modules/trustme { };
truststore = callPackage ../development/python-modules/truststore { };
trytond = callPackage ../development/python-modules/trytond { };
tskit = callPackage ../development/python-modules/tskit { };