From 30773079f5c6acbbae9775c423a9f55843be4ef2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Jan 2024 12:27:03 +0000 Subject: [PATCH 1/2] python310Packages.yark: 1.2.9 -> 1.2.10 --- pkgs/development/python-modules/yark/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/yark/default.nix b/pkgs/development/python-modules/yark/default.nix index f7b9f696d6cf..e14c278e01c4 100644 --- a/pkgs/development/python-modules/yark/default.nix +++ b/pkgs/development/python-modules/yark/default.nix @@ -13,13 +13,13 @@ buildPythonPackage rec { pname = "yark"; - version = "1.2.9"; + version = "1.2.10"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-g9JwFnB4tFuvRvQGEURbIB2gaXQgCQJkL1sNmYMFvck="; + hash = "sha256-Y1fWHpvrqGuBPyJ2dO2y0W2zhEgcTJABtkOAoZ7uyZU="; }; pythonRelaxDeps = [ From f60e8bcfaff8c41b7fbfba3f42b7363c1178f10b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Jan 2024 11:04:00 +0100 Subject: [PATCH 2/2] python311Packages.yark: refactor --- .../python-modules/yark/default.nix | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/yark/default.nix b/pkgs/development/python-modules/yark/default.nix index e14c278e01c4..83e1b909793e 100644 --- a/pkgs/development/python-modules/yark/default.nix +++ b/pkgs/development/python-modules/yark/default.nix @@ -1,21 +1,23 @@ { lib , buildPythonPackage -, fetchPypi -, poetry-core -, pythonRelaxDepsHook , click , colorama +, fetchPypi , flask +, poetry-core +, progress +, pythonOlder +, pythonRelaxDepsHook , requests , yt-dlp -, progress }: buildPythonPackage rec { pname = "yark"; version = "1.2.10"; + pyproject = true; - format = "pyproject"; + disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; @@ -40,8 +42,7 @@ buildPythonPackage rec { yt-dlp ]; - # There aren't any unit tests. If test discovery runs, it will crash, halting the build. - # When upstream adds unit tests, please configure them here. Thanks! ~ C. + # Module has no tests doCheck = false; pythonImportsCheck = [ @@ -49,9 +50,10 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "YouTube archiving made simple"; + description = "Module for YouTube archiving"; homepage = "https://github.com/Owez/yark"; + changelog = "https://github.com/Owez/yark/releases/tag/v${version}"; license = licenses.mit; - maintainers = [ ]; + maintainers = with maintainers; [ ]; }; }