git-annex-remote-rclone: use stdenvNoCC

This commit is contained in:
Mario Rodas 2022-11-23 04:20:00 +00:00
parent 81e4301733
commit ed53711511

View file

@ -1,22 +1,20 @@
{ lib, stdenv, fetchFromGitHub, rclone, makeWrapper }:
{ lib, stdenvNoCC, fetchFromGitHub, rclone, makeWrapper }:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "git-annex-remote-rclone";
version = "0.7";
rev = "v${version}";
src = fetchFromGitHub {
inherit rev;
owner = "DanielDent";
repo = "git-annex-remote-rclone";
rev = "v${version}";
sha256 = "sha256-H2C4zjM+kbC9qPl1F+bSnepuqANjZd1sz6XxOTkVVkU=";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
cp git-annex-remote-rclone $out/bin
install -Dm755 -t $out/bin git-annex-remote-rclone
wrapProgram "$out/bin/git-annex-remote-rclone" \
--prefix PATH ":" "${lib.makeBinPath [ rclone ]}"
'';