From 75a6351055b27839f34ff018bcdbd1c19ea7452a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Apr 2024 03:32:15 +0000 Subject: [PATCH 1/3] python312Packages.m3u8: 4.0.0 -> 4.1.0 --- pkgs/development/python-modules/m3u8/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/m3u8/default.nix b/pkgs/development/python-modules/m3u8/default.nix index af3681f453ca..09a0ac08f811 100644 --- a/pkgs/development/python-modules/m3u8/default.nix +++ b/pkgs/development/python-modules/m3u8/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "m3u8"; - version = "4.0.0"; + version = "4.1.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "globocom"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-sxLT3a9f38RZqzEzqyZos3G38vzHPzhMexfBN2qzbxQ="; + hash = "sha256-vH5y/fk9dW8w54U3o+70enbTOubV4V0/NVbSSqOY9rQ="; }; propagatedBuildInputs = [ From 72d8e937ddbc8612dfb955395fcb75663ea729d8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 2 Apr 2024 09:47:44 +0200 Subject: [PATCH 2/3] python312Packages.m3u8: refactor --- pkgs/development/python-modules/m3u8/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/m3u8/default.nix b/pkgs/development/python-modules/m3u8/default.nix index 09a0ac08f811..70f734275474 100644 --- a/pkgs/development/python-modules/m3u8/default.nix +++ b/pkgs/development/python-modules/m3u8/default.nix @@ -5,23 +5,28 @@ , bottle , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "m3u8"; version = "4.1.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "globocom"; - repo = pname; + repo = "m3u8"; rev = "refs/tags/${version}"; hash = "sha256-vH5y/fk9dW8w54U3o+70enbTOubV4V0/NVbSSqOY9rQ="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ iso8601 ]; From bddc7e4eb409dc6702b271415d30387b662247c6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 2 Apr 2024 09:49:05 +0200 Subject: [PATCH 3/3] python312Packages.m3u8: fix changelog entry --- pkgs/development/python-modules/m3u8/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/m3u8/default.nix b/pkgs/development/python-modules/m3u8/default.nix index 70f734275474..6dab2c26ad3c 100644 --- a/pkgs/development/python-modules/m3u8/default.nix +++ b/pkgs/development/python-modules/m3u8/default.nix @@ -50,7 +50,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python m3u8 parser"; homepage = "https://github.com/globocom/m3u8"; - changelog = "https://github.com/globocom/m3u8/releases/tag//${version}"; + changelog = "https://github.com/globocom/m3u8/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ Scriptkiddi ]; };