1 { lib, stdenvNoCC, fetchFromGitHub, rclone, makeWrapper }:
3 stdenvNoCC.mkDerivation rec {
4 pname = "git-annex-remote-rclone";
7 src = fetchFromGitHub {
9 repo = "git-annex-remote-rclone";
11 sha256 = "sha256-H2C4zjM+kbC9qPl1F+bSnepuqANjZd1sz6XxOTkVVkU=";
14 nativeBuildInputs = [ makeWrapper ];
17 install -Dm755 -t $out/bin git-annex-remote-rclone
18 wrapProgram "$out/bin/git-annex-remote-rclone" \
19 --prefix PATH ":" "${lib.makeBinPath [ rclone ]}"
23 homepage = "https://github.com/DanielDent/git-annex-remote-rclone";
24 description = "Use rclone supported cloud storage providers with git-annex";
25 license = licenses.gpl3Only;
26 platforms = platforms.all;
27 maintainers = [ maintainers.montag451 ];