Loading pkgs/development/python-modules/podcastparser/default.nix +27 −12 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, nose }: { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "podcastparser"; version = "0.6.5"; version = "0.6.10"; format = "setuptools"; disabled = pythonOlder "3.7"; 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 = '' substituteInPlace pytest.ini \ --replace "--cov=podcastparser --cov-report html --doctest-modules" "" ''; meta = { description = "podcastparser is a simple, fast and efficient podcast parser written in Python."; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "podcastparser" ]; meta = with lib; { description = "Module to parse podcasts"; homepage = "http://gpodder.org/podcastparser/"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ mic92 ]; license = licenses.bsd2; maintainers = with maintainers; [ mic92 ]; }; } Loading
pkgs/development/python-modules/podcastparser/default.nix +27 −12 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, nose }: { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "podcastparser"; version = "0.6.5"; version = "0.6.10"; format = "setuptools"; disabled = pythonOlder "3.7"; 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 = '' substituteInPlace pytest.ini \ --replace "--cov=podcastparser --cov-report html --doctest-modules" "" ''; meta = { description = "podcastparser is a simple, fast and efficient podcast parser written in Python."; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "podcastparser" ]; meta = with lib; { description = "Module to parse podcasts"; homepage = "http://gpodder.org/podcastparser/"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ mic92 ]; license = licenses.bsd2; maintainers = with maintainers; [ mic92 ]; }; }