Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 45 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 fetchpatch, 6 cmake, 7 wrapQtAppsHook, 8 qtbase, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "rclone-browser"; 13 version = "1.8.0"; 14 15 src = fetchFromGitHub { 16 owner = "kapitainsky"; 17 repo = "RcloneBrowser"; 18 rev = version; 19 sha256 = "14ckkdypkfyiqpnz0y2b73wh1py554iyc3gnymj4smy0kg70ai33"; 20 }; 21 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 ]; 29 30 nativeBuildInputs = [ 31 cmake 32 wrapQtAppsHook 33 ]; 34 35 buildInputs = [ qtbase ]; 36 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 }; 45}