pythonPackages.pafy: 0.5.2 -> 0.5.3.1 (#29588)

* pythonPackages.pafy: 0.5.2 -> 0.5.3.1

* pythonPackages.pafy: move to its own file

* pythonPackages.pafy: fetchurl -> fetchPypi
This commit is contained in:
Théophane Hufschmitt
2017-09-21 13:45:33 +02:00
committed by Jörg Thalheim
parent 8b8a2fd542
commit e76c2c1496
2 changed files with 25 additions and 21 deletions

View File

@@ -0,0 +1,24 @@
{ lib, buildPythonPackage, youtube-dl, fetchPypi }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pafy";
version = "0.5.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "1a7dxi95m1043rxx1r5x3ngb66nwlq6aqcasyqqjzmmmjps4zrim";
};
# No tests included in archive
doCheck = false;
propagatedBuildInputs = [ youtube-dl ];
meta = with lib; {
description = "A library to download YouTube content and retrieve metadata";
homepage = http://np1.github.io/pafy/;
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ odi ];
};
}