2017-09-21 13:45:33 +02:00
|
|
|
{ lib, buildPythonPackage, youtube-dl, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pafy";
|
2018-02-17 14:21:18 +01:00
|
|
|
version = "0.5.4";
|
2017-09-21 13:45:33 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-17 14:21:18 +01:00
|
|
|
sha256 = "e842dc589a339a870b5869cc3802f2e95824edf347f65128223cd5ebdff21024";
|
2017-09-21 13:45:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|