From beffd88ad398b3abe78084f9b8f7e9ece3856c1f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 30 Apr 2024 09:25:17 +0200 Subject: [PATCH 1/3] python312Packages.http-sf: 1.0.1 -> 1.0.2 Diff: https://github.com/mnot/http-sf/compare/refs/tags/v1.0.1...v1.0.2 Changelog: https://github.com/mnot/http-sf/releases/tag/v1.0.2 --- pkgs/development/python-modules/http-sf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/http-sf/default.nix b/pkgs/development/python-modules/http-sf/default.nix index f9ebde2b2b03..71c806cafb95 100644 --- a/pkgs/development/python-modules/http-sf/default.nix +++ b/pkgs/development/python-modules/http-sf/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "http-sf"; - version = "1.0.1"; + version = "1.0.2"; pyproject = true; disabled = pythonOlder "3.9"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "mnot"; repo = "http-sf"; rev = "refs/tags/v${version}"; - hash = "sha256-8xK8/IVrhqMDgkxZY10QqSGswCrttc29FZLCntmSUQ4="; + hash = "sha256-p2GTCvuRhQVchFiLzoDYop9TUz/DT7eVY6Zioh+/rE8="; }; nativeBuildInputs = [ From e5a17f2a7b7bcfdfa04ef2580481a3717a60c4c2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 30 Apr 2024 09:25:48 +0200 Subject: [PATCH 2/3] python312Packages.http-sf: refactor --- pkgs/development/python-modules/http-sf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/http-sf/default.nix b/pkgs/development/python-modules/http-sf/default.nix index 71c806cafb95..a41c83296172 100644 --- a/pkgs/development/python-modules/http-sf/default.nix +++ b/pkgs/development/python-modules/http-sf/default.nix @@ -20,11 +20,11 @@ buildPythonPackage rec { hash = "sha256-p2GTCvuRhQVchFiLzoDYop9TUz/DT7eVY6Zioh+/rE8="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ typing-extensions ]; From 5e8c2e9b344c50515df443c0e15bc09c8d6939f5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 30 Apr 2024 09:27:23 +0200 Subject: [PATCH 3/3] python312Packages.http-sf: format with nixfmt --- .../python-modules/http-sf/default.nix | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/http-sf/default.nix b/pkgs/development/python-modules/http-sf/default.nix index a41c83296172..d5695b9699f5 100644 --- a/pkgs/development/python-modules/http-sf/default.nix +++ b/pkgs/development/python-modules/http-sf/default.nix @@ -1,9 +1,10 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pythonOlder -, setuptools -, typing-extensions +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pythonOlder, + setuptools, + typing-extensions, }: buildPythonPackage rec { @@ -20,20 +21,14 @@ buildPythonPackage rec { hash = "sha256-p2GTCvuRhQVchFiLzoDYop9TUz/DT7eVY6Zioh+/rE8="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; - dependencies = [ - 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";