2017-03-21 14:56:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "podcastparser";
|
2017-11-02 17:14:38 +00:00
|
|
|
version = "0.6.2";
|
2017-03-21 14:56:51 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gpodder";
|
|
|
|
repo = "podcastparser";
|
|
|
|
rev = version;
|
2017-11-02 17:14:38 +00:00
|
|
|
sha256 = "1mhg7192d6s1ll9mx1b63yfj6k4cnv4i95jllbnydyjv9ykkv0k1";
|
2017-03-21 14:56:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ];
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
checkPhase = "nosetests test_*.py";
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|