Created
August 7, 2018 21:18
-
-
Save Drakonis/d344efbf2b357936f17b4775e8077b8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchFromGitHub, rclone, qt5, cmake, makeWrapper }: | |
stdenv.mkDerivation rec { | |
name = "rclone-browser-${version}"; | |
version = "1.2"; | |
src = fetchFromGitHub { | |
owner = "mmozeiko"; | |
repo = "RcloneBrowser"; | |
rev = version; | |
sha256 = "1ldradd5c606mfkh46y4mhcvf9kbjhamw0gahksp9w43h5dh3ir7"; | |
}; | |
buildInputs = [ qt5.qtbase cmake makeWrapper rclone ]; | |
installPhase = '' | |
mkdir -p $out/bin | |
cp $out/bin/rclone-browser $out/bin | |
makeWrapper ${rclone}/bin/rclone $out/bin/rclone | |
''; | |
meta = with stdenv.lib; { | |
description = "Graphical Frontend to Rclone written in Qt"; | |
homepage = https://github.com/mmozeiko/RcloneBrowser; | |
license = licenses.unlicense; | |
platforms = platforms.all; | |
}; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment