about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/podcastparser/default.nix
blob: d2fc1093844e4892a03ef00c1332d22e0ee0d406 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, buildPythonPackage, fetchFromGitHub, nose }:

buildPythonPackage rec {
  pname = "podcastparser";
  version = "0.6.4";

  src = fetchFromGitHub {
    owner = "gpodder";
    repo = "podcastparser";
    rev = version;
    sha256 = "10bk93fqsws360q1gkjvfzjda3351169zbr6v5lq9raa3mg1ln52";
  };

  checkInputs = [ nose ];

  checkPhase = ''
    nosetests test_*.py
  '';

  meta = {
    description = "podcastparser is a simple, fast and efficient podcast parser written in Python.";
    homepage = http://gpodder.org/podcastparser/;
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ mic92 ];
  };
}