Unverified Commit a846d964 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #314547 from fabaff/truststore-bump

python312Packages.truststore: refactor
parents f3599c93 4cae2a02
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -14,20 +14,20 @@
buildPythonPackage rec {
  pname = "truststore";
  version = "0.9.1";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchFromGitHub {
    owner = "sethmlarson";
    repo = pname;
    repo = "truststore";
    rev = "refs/tags/v${version}";
    hash = "sha256-BP88oQ363XFuRMKZqW8wSm1wl5upU+yEgmwktv65JOU=";
  };

  nativeBuildInputs = [ flit-core ];
  build-system = [ flit-core ];

  propagatedBuildInputs = [
  dependencies = [
    aiohttp
    httpx
    pyopenssl
@@ -35,14 +35,14 @@ buildPythonPackage rec {
    trustme
  ];

  # tests requires networking
  # Tests requires networking
  doCheck = false;

  pythonImportsCheck = [ "truststore" ];

  meta = with lib; {
    homepage = "https://github.com/sethmlarson/truststore";
    description = "Verify certificates using native system trust stores";
    homepage = "https://github.com/sethmlarson/truststore";
    changelog = "https://github.com/sethmlarson/truststore/blob/v${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ anthonyroussel ];