From 64218457c48ad2f9ffcc9f1551b3afd7ebf562ba Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Tue, 21 Mar 2017 15:56:51 +0100 Subject: pythonPackages.podcastparser: init at 0.6.1 --- .../python-modules/podcastparser/default.nix | 27 ++++++++++++++++++++++ pkgs/top-level/python-packages.nix | 1 + 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/podcastparser/default.nix diff --git a/pkgs/development/python-modules/podcastparser/default.nix b/pkgs/development/python-modules/podcastparser/default.nix new file mode 100644 index 000000000000..ffdfa7a323ac --- /dev/null +++ b/pkgs/development/python-modules/podcastparser/default.nix @@ -0,0 +1,27 @@ +{ lib, buildPythonPackage, fetchFromGitHub, nose }: + +buildPythonPackage rec { + pname = "podcastparser"; + version = "0.6.1"; + name = "${pname}-${version}"; + + src = fetchFromGitHub { + owner = "gpodder"; + repo = "podcastparser"; + rev = version; + sha256 = "0q3qc8adykmm692ha0c37xd6wbj830zlq900fyw6vrfan9bgdj5y"; + }; + + 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/; + license = lib.licenses.gpl3; + maintainers = with lib.maintainers; [ mic92 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5923b06960a6..dac72011054d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8949,6 +8949,7 @@ in { }; }; + podcastparser = callPackage ../development/python-modules/podcastparser { }; poppler-qt4 = buildPythonPackage rec { name = "poppler-qt4-${version}"; -- cgit 1.4.1