Merge pull request #85948 from mkg20001/pkg/tartube

tartube: init at 2.0.016
This commit is contained in:
worldofpeace 2020-04-25 11:52:29 -04:00 committed by GitHub
commit bef95ff573
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,68 @@
{ stdenv
, lib
, fetchFromGitHub
, gdk-pixbuf
, gobject-introspection
, gtk3
, libnotify
, pango
, python3Packages
, wrapGAppsHook
, youtube-dl
, glib
}:
python3Packages.buildPythonApplication rec {
pname = "tartube";
version = "2.0.016";
src = fetchFromGitHub {
owner = "axcore";
repo = "tartube";
rev = "v${version}";
sha256 = "1y77ykihyi4v6xlsm5xldbs9lzq229l574rxz6qfvrjcbbwajfj9";
};
nativeBuildInputs = [
gobject-introspection
wrapGAppsHook
];
strictDeps = false;
propagatedBuildInputs = with python3Packages; [
moviepy
pygobject3
pyxdg
requests
];
buildInputs = [
gdk-pixbuf
gtk3
glib
libnotify
pango
];
postInstall = ''
mkdir -p $out/share/{man/man1,applications,pixmaps}
cp pack/tartube.1 $out/share/man/man1
cp pack/tartube.desktop $out/share/applications
cp pack/tartube.{png,xpm} $out/share/pixmaps
'';
doCheck = false;
makeWrapperArgs = [
"--prefix PATH : ${stdenv.lib.makeBinPath [ youtube-dl ]}"
];
meta = with lib; {
description = "A GUI front-end for youtube-dl";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ mkg20001 luc65r ];
homepage = "https://tartube.sourceforge.io/";
};
}

View file

@ -6887,6 +6887,8 @@ in
tarsnapper = callPackage ../tools/backup/tarsnapper { };
tartube = callPackage ../applications/video/tartube { };
tayga = callPackage ../tools/networking/tayga { };
tcpcrypt = callPackage ../tools/security/tcpcrypt { };