10 buildPythonPackage rec {
15 disabled = pythonOlder "3.9";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-p2GTCvuRhQVchFiLzoDYop9TUz/DT7eVY6Zioh+/rE8=";
24 build-system = [ setuptools ];
26 dependencies = [ typing-extensions ];
28 # Tests require external data (https://github.com/httpwg/structured-field-tests)
31 pythonImportsCheck = [ "http_sf" ];
34 description = "Module to parse and serialise HTTP structured field values";
35 homepage = "https://github.com/mnot/http-sf";
36 changelog = "https://github.com/mnot/http-sf/releases/tag/v${version}";
37 license = licenses.mit;
38 maintainers = with maintainers; [ fab ];