git-annex-remote-rclone: use stdenvNoCC
This commit is contained in:
parent
81e4301733
commit
ed53711511
1 changed files with 4 additions and 6 deletions
|
@ -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 ]}"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue