Unverified Commit e2cc1ae5 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #307932 from fabaff/http-sf-bump

python312Packages.http-sf: 1.0.1 -> 1.0.2
parents 338012ef 5e8c2e9b
Loading
Loading
Loading
Loading
+12 −17
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, typing-extensions
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  setuptools,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "http-sf";
  version = "1.0.1";
  version = "1.0.2";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -17,23 +18,17 @@ buildPythonPackage rec {
    owner = "mnot";
    repo = "http-sf";
    rev = "refs/tags/v${version}";
    hash = "sha256-8xK8/IVrhqMDgkxZY10QqSGswCrttc29FZLCntmSUQ4=";
    hash = "sha256-p2GTCvuRhQVchFiLzoDYop9TUz/DT7eVY6Zioh+/rE8=";
  };

  nativeBuildInputs = [
    setuptools
  ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
    typing-extensions
  ];
  dependencies = [ typing-extensions ];

  # Tests require external data (https://github.com/httpwg/structured-field-tests)
  doCheck = false;

  pythonImportsCheck = [
    "http_sf"
  ];
  pythonImportsCheck = [ "http_sf" ];

  meta = with lib; {
    description = "Module to parse and serialise HTTP structured field values";