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 {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "rclone-browser";
|
2020-02-19 00:30:32 +00:00
|
|
|
version = "1.8.0";
|
2018-10-19 10:01:24 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-02-19 00:30:32 +00:00
|
|
|
owner = "kapitainsky";
|
2018-10-19 10:01:24 +01:00
|
|
|
repo = "RcloneBrowser";
|
|
|
|
rev = version;
|
2020-02-19 00:30:32 +00:00
|
|
|
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";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-02-19 00:30:32 +00:00
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
2018-10-19 10:01:24 +01:00
|
|
|
|
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|