depot/third_party/nixpkgs/pkgs/development/python-modules/podcastparser/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
629 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, nose }:
buildPythonPackage rec {
pname = "podcastparser";
version = "0.6.5";
src = fetchFromGitHub {
owner = "gpodder";
repo = "podcastparser";
rev = version;
sha256 = "1s83iq0mxcikxv6gi003iyavl1ai3siw1d7arijh0g28l0fff23a";
};
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 ];
};
}