From 8b71698c0728647b1cdf9bb6fbc0c5bd803e2701 Mon Sep 17 00:00:00 2001 From: Oliver Dunkl Date: Thu, 30 Jul 2015 11:39:28 +0200 Subject: [PATCH] python-packages: pafy init version 0.3.74 --- pkgs/top-level/python-packages.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e760380132fa..d8f05132d952 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16790,4 +16790,24 @@ let maintainers = with maintainers; [ kamilchm ]; }; }; + + pafy = buildPythonPackage rec { + name = "pafy-${version}"; + version = "0.3.74"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/p/pafy/${name}.tar.gz"; + md5 = "fbf0e7f85914eaf35f87837232eec09c"; + }; + + propagatedBuildInputs = with self; [ youtube-dl ]; + + meta = with stdenv.lib; { + description = "A library to download YouTube content and retrieve metadata"; + homepage = http://np1.github.io/pafy/; + license = licenses.lgpl3Plus; + maintainers = with maintainers; [ odi ]; + }; + }; + }; in pythonPackages