mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 12:02:47 +00:00
python3Packages.pytube: init at 10.6.1
This commit is contained in:
parent
5ebacbf474
commit
f8d6e28f7d
34
pkgs/development/python-modules/pytube/default.nix
Normal file
34
pkgs/development/python-modules/pytube/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytube";
|
||||
version = "10.6.1";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytube";
|
||||
repo = "pytube";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-b0tN4m3/+K243zQ7L4wW4crk9r69Tj64is6C4I5oFZU=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pytube" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python 3 library for downloading YouTube Videos";
|
||||
homepage = "https://github.com/nficano/pytube";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -6889,6 +6889,8 @@ in {
|
|||
|
||||
pytricia = callPackage ../development/python-modules/pytricia { };
|
||||
|
||||
pytube = callPackage ../development/python-modules/pytube { };
|
||||
|
||||
pytun = callPackage ../development/python-modules/pytun { };
|
||||
|
||||
pytz = callPackage ../development/python-modules/pytz { };
|
||||
|
|
Loading…
Reference in a new issue