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