mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
Merge pull request #92387 from marsam/init-tubeup
pythonPackages.tubeup: init at 0.0.19
This commit is contained in:
commit
a5f819d08b
38
pkgs/development/python-modules/tubeup/default.nix
Normal file
38
pkgs/development/python-modules/tubeup/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, internetarchive
|
||||
, fetchPypi
|
||||
, youtube-dl
|
||||
, docopt
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tubeup";
|
||||
version = "0.0.19";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6e3ebbf677a43018bfd71070919187bd57120010b0d708c0494c0f17bb72e84e";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "docopt==0.6.2" "docopt"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ internetarchive docopt youtube-dl ];
|
||||
|
||||
pythonImportsCheck = [ "tubeup" ];
|
||||
|
||||
# Tests failing upstream
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Youtube (and other video site) to Internet Archive Uploader";
|
||||
homepage = "https://github.com/bibanon/tubeup";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
@ -7210,6 +7210,8 @@ in {
|
||||
|
||||
TurboCheetah = callPackage ../development/python-modules/TurboCheetah { };
|
||||
|
||||
tubeup = callPackage ../development/python-modules/tubeup { };
|
||||
|
||||
tvdb_api = callPackage ../development/python-modules/tvdb_api { };
|
||||
|
||||
tvnamer = callPackage ../development/python-modules/tvnamer { };
|
||||
|
Loading…
Reference in New Issue
Block a user