2017-03-21 14:56:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "podcastparser";
|
2020-04-10 21:42:31 +01:00
|
|
|
version = "0.6.5";
|
2017-03-21 14:56:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gpodder";
|
|
|
|
repo = "podcastparser";
|
|
|
|
rev = version;
|
2020-04-10 21:42:31 +01:00
|
|
|
sha256 = "1s83iq0mxcikxv6gi003iyavl1ai3siw1d7arijh0g28l0fff23a";
|
2017-03-21 14:56:51 +00:00
|
|
|
};
|
|
|
|
|
2019-01-05 10:54:27 +00:00
|
|
|
checkInputs = [ nose ];
|
2017-03-21 14:56:51 +00:00
|
|
|
|
2019-01-05 10:54:27 +00:00
|
|
|
checkPhase = ''
|
|
|
|
nosetests test_*.py
|
|
|
|
'';
|
2017-03-21 14:56:51 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "podcastparser is a simple, fast and efficient podcast parser written in Python.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://gpodder.org/podcastparser/";
|
2017-03-21 16:10:41 +00:00
|
|
|
license = lib.licenses.bsd2;
|
2017-03-21 14:56:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ mic92 ];
|
|
|
|
};
|
|
|
|
}
|