From 87f9f87d04b4831f2e59a7e98ec7e13d05805c60 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 19 Sep 2023 05:36:06 +0200 Subject: [PATCH] python311Packages.podcastparser: 0.6.5 -> 0.6.10 --- .../python-modules/podcastparser/default.nix | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/podcastparser/default.nix b/pkgs/development/python-modules/podcastparser/default.nix index 31472409ee71..758aabf34cbf 100644 --- a/pkgs/development/python-modules/podcastparser/default.nix +++ b/pkgs/development/python-modules/podcastparser/default.nix @@ -1,22 +1,28 @@ -{ lib, buildPythonPackage, fetchFromGitHub, nose }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +}: buildPythonPackage rec { pname = "podcastparser"; - version = "0.6.5"; + version = "0.6.10"; src = fetchFromGitHub { owner = "gpodder"; repo = "podcastparser"; - rev = version; - sha256 = "1s83iq0mxcikxv6gi003iyavl1ai3siw1d7arijh0g28l0fff23a"; + rev = "refs/tags/${version}"; + hash = "sha256-P9wVyxTO0nz/DfuBhCE+VjhH1uYx4jBd30Ca26yBzbo="; }; - nativeCheckInputs = [ nose ]; - - checkPhase = '' - nosetests test_*.py + postPatch = '' + rm pytest.ini ''; + nativeCheckInputs = [ + pytestCheckHook + ]; + meta = { description = "podcastparser is a simple, fast and efficient podcast parser written in Python."; homepage = "http://gpodder.org/podcastparser/";