python312Packages.publicsuffixlist: 1.0.2.20241207 -> 1.0.2.20241213 (#365192)
[NixPkgs.git] / pkgs / applications / networking / sync / rclone / browser.nix
blob272445a047530d44a9d1aa0e9019fc0da4374b81
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   fetchpatch,
6   cmake,
7   wrapQtAppsHook,
8   qtbase,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "rclone-browser";
13   version = "1.8.0";
15   src = fetchFromGitHub {
16     owner = "kapitainsky";
17     repo = "RcloneBrowser";
18     rev = version;
19     sha256 = "14ckkdypkfyiqpnz0y2b73wh1py554iyc3gnymj4smy0kg70ai33";
20   };
22   patches = [
23     # patch for Qt 5.15, https://github.com/kapitainsky/RcloneBrowser/pull/126
24     (fetchpatch {
25       url = "https://github.com/kapitainsky/RcloneBrowser/commit/ce9cf52e9c584a2cc85a5fa814b0fd7fa9cf0152.patch";
26       sha256 = "0nm42flmaq7mva9j4dpp18i1xcv8gr08zfyb9apz1zwn79h1w0c8";
27     })
28   ];
30   nativeBuildInputs = [
31     cmake
32     wrapQtAppsHook
33   ];
35   buildInputs = [ qtbase ];
37   meta = with lib; {
38     inherit (src.meta) homepage;
39     description = "Graphical Frontend to Rclone written in Qt";
40     mainProgram = "rclone-browser";
41     license = licenses.unlicense;
42     platforms = platforms.linux;
43     maintainers = with maintainers; [ dotlambda ];
44   };