nixpkgs/pkgs/development/python-modules/pafy/default.nix

24 lines
588 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, youtube-dl, fetchPypi }:
buildPythonPackage rec {
pname = "pafy";
2018-02-17 13:21:18 +00:00
version = "0.5.4";
src = fetchPypi {
inherit pname version;
2018-02-17 13:21:18 +00:00
sha256 = "e842dc589a339a870b5869cc3802f2e95824edf347f65128223cd5ebdff21024";
};
# No tests included in archive
doCheck = false;
propagatedBuildInputs = [ youtube-dl ];
meta = with lib; {
description = "A library to download YouTube content and retrieve metadata";
2019-12-07 01:12:11 +00:00
homepage = https://github.com/mps-youtube/pafy;
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ odi ];
};
}