3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/sync/rclone/browser.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
959 B
Nix
Raw Normal View History

2021-02-03 13:50:58 +00:00
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, wrapQtAppsHook, qtbase }:
2018-10-19 10:01:24 +01:00
stdenv.mkDerivation rec {
pname = "rclone-browser";
version = "1.8.0";
2018-10-19 10:01:24 +01:00
src = fetchFromGitHub {
owner = "kapitainsky";
2018-10-19 10:01:24 +01:00
repo = "RcloneBrowser";
rev = version;
sha256 = "14ckkdypkfyiqpnz0y2b73wh1py554iyc3gnymj4smy0kg70ai33";
2018-10-19 10:01:24 +01:00
};
2021-02-03 13:50:58 +00:00
patches = [
# patch for Qt 5.15, https://github.com/kapitainsky/RcloneBrowser/pull/126
(fetchpatch {
url = "https://github.com/kapitainsky/RcloneBrowser/commit/ce9cf52e9c584a2cc85a5fa814b0fd7fa9cf0152.patch";
sha256 = "0nm42flmaq7mva9j4dpp18i1xcv8gr08zfyb9apz1zwn79h1w0c8";
})
];
nativeBuildInputs = [ cmake wrapQtAppsHook ];
2018-10-19 10:01:24 +01:00
buildInputs = [ qtbase ];
meta = with lib; {
2018-10-19 10:01:24 +01:00
inherit (src.meta) homepage;
description = "Graphical Frontend to Rclone written in Qt";
license = licenses.unlicense;
platforms = platforms.linux;
maintainers = with maintainers; [ dotlambda ];
};
}