diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/podcastparser')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/podcastparser/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/podcastparser/default.nix b/nixpkgs/pkgs/development/python-modules/podcastparser/default.nix new file mode 100644 index 000000000000..d2fc1093844e --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/podcastparser/default.nix @@ -0,0 +1,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 ]; + }; +} |