2017-03-21 14:56:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "podcastparser";
|
2018-10-24 10:09:26 +01:00
|
|
|
version = "0.6.4";
|
2017-03-21 14:56:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gpodder";
|
|
|
|
repo = "podcastparser";
|
|
|
|
rev = version;
|
2018-10-24 10:09:26 +01:00
|
|
|
sha256 = "10bk93fqsws360q1gkjvfzjda3351169zbr6v5lq9raa3mg1ln52";
|
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.";
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|