nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 47 lines 936 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 flit-core, 7 httpx, 8 pyopenssl, 9 requests, 10 trustme, 11}: 12 13buildPythonPackage rec { 14 pname = "truststore"; 15 version = "0.10.4"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "sethmlarson"; 20 repo = "truststore"; 21 tag = "v${version}"; 22 hash = "sha256-EbwD2YyVA9W9cWEjYvypBJxs6Hbkb/tF2qU/sUNCt5g="; 23 }; 24 25 build-system = [ flit-core ]; 26 27 dependencies = [ 28 aiohttp 29 httpx 30 pyopenssl 31 requests 32 trustme 33 ]; 34 35 # Tests requires networking 36 doCheck = false; 37 38 pythonImportsCheck = [ "truststore" ]; 39 40 meta = { 41 description = "Verify certificates using native system trust stores"; 42 homepage = "https://github.com/sethmlarson/truststore"; 43 changelog = "https://github.com/sethmlarson/truststore/blob/v${version}/CHANGELOG.md"; 44 license = lib.licenses.mit; 45 maintainers = with lib.maintainers; [ anthonyroussel ]; 46 }; 47}