2017-09-21 12:45:33 +01:00
|
|
|
{ lib, buildPythonPackage, youtube-dl, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pafy";
|
2019-12-10 18:07:40 +00:00
|
|
|
version = "0.5.5";
|
2017-09-21 12:45:33 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-10 18:07:40 +00:00
|
|
|
sha256 = "364f1d1312c89582d97dc7225cf6858cde27cb11dfd64a9c2bab1a2f32133b1e";
|
2017-09-21 12:45:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ youtube-dl ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A library to download YouTube content and retrieve metadata";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mps-youtube/pafy";
|
2017-09-21 12:45:33 +01:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ odi ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|