uget-integrator: init at 1.0.0
This commit is contained in:
parent
f148c5c4a1
commit
a7ce93955d
@ -8,7 +8,7 @@
|
|||||||
, google_talk_plugin, fribid, gnome3/*.gnome-shell*/
|
, google_talk_plugin, fribid, gnome3/*.gnome-shell*/
|
||||||
, esteidfirefoxplugin
|
, esteidfirefoxplugin
|
||||||
, vlc_npapi
|
, vlc_npapi
|
||||||
, browserpass, chrome-gnome-shell
|
, browserpass, chrome-gnome-shell, uget-integrator
|
||||||
, libudev
|
, libudev
|
||||||
, kerberos
|
, kerberos
|
||||||
}:
|
}:
|
||||||
@ -64,6 +64,7 @@ let
|
|||||||
([ ]
|
([ ]
|
||||||
++ lib.optional (cfg.enableBrowserpass or false) browserpass
|
++ lib.optional (cfg.enableBrowserpass or false) browserpass
|
||||||
++ lib.optional (cfg.enableGnomeExtensions or false) chrome-gnome-shell
|
++ lib.optional (cfg.enableGnomeExtensions or false) chrome-gnome-shell
|
||||||
|
++ lib.optional (cfg.enableUgetIntegrator or false) uget-integrator
|
||||||
++ extraNativeMessagingHosts
|
++ extraNativeMessagingHosts
|
||||||
);
|
);
|
||||||
libs = (if ffmpegSupport then [ ffmpeg ] else with gst_all; [ gstreamer gst-plugins-base ])
|
libs = (if ffmpegSupport then [ ffmpeg ] else with gst_all; [ gstreamer gst-plugins-base ])
|
||||||
|
39
pkgs/tools/networking/uget-integrator/default.nix
Normal file
39
pkgs/tools/networking/uget-integrator/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, uget, python3Packages }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "uget-integrator-${version}";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ugetdm";
|
||||||
|
repo = "uget-integrator";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0bfqwbpprxp5sy49p2hqcjdfj7zamnp2hhcnnyccffkn7pghx8pp";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ python3Packages.wrapPython ];
|
||||||
|
|
||||||
|
buildInputs = [ uget python3Packages.python ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
for f in conf/com.ugetdm.{chrome,firefox}.json; do
|
||||||
|
substituteInPlace $f --replace "/usr" "$out"
|
||||||
|
done
|
||||||
|
|
||||||
|
install -D -t $out/bin bin/uget-integrator
|
||||||
|
install -D -t $out/etc/opt/chrome/native-messaging-hosts conf/com.ugetdm.chrome.json
|
||||||
|
install -D -t $out/etc/chromium/native-messaging-hosts conf/com.ugetdm.chrome.json
|
||||||
|
install -D -t $out/etc/opera/native-messaging-hosts conf/com.ugetdm.chrome.json
|
||||||
|
install -D -t $out/lib/mozilla/native-messaging-hosts conf/com.ugetdm.firefox.json
|
||||||
|
|
||||||
|
wrapPythonPrograms
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Native messaging host to integrate uGet Download Manager with web browsers";
|
||||||
|
homepage = https://github.com/ugetdm/uget-integrator;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.romildo ];
|
||||||
|
};
|
||||||
|
}
|
@ -5306,6 +5306,8 @@ with pkgs;
|
|||||||
|
|
||||||
uget = callPackage ../tools/networking/uget { };
|
uget = callPackage ../tools/networking/uget { };
|
||||||
|
|
||||||
|
uget-integrator = callPackage ../tools/networking/uget-integrator { };
|
||||||
|
|
||||||
uif2iso = callPackage ../tools/cd-dvd/uif2iso { };
|
uif2iso = callPackage ../tools/cd-dvd/uif2iso { };
|
||||||
|
|
||||||
umlet = callPackage ../tools/misc/umlet { };
|
umlet = callPackage ../tools/misc/umlet { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user