about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pafy/default.nix
blob: 75a16f5c53bed0949a0fdfc4abadf5b94b6d5f95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildPythonPackage, youtube-dl, fetchPypi }:
buildPythonPackage rec {
  pname = "pafy";
  version = "0.5.4";

  src = fetchPypi {
    inherit pname version;
    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";
    homepage = http://np1.github.io/pafy/;
    license = licenses.lgpl3Plus;
    maintainers = with maintainers; [ odi ];
  };
}