Something went wrong. Try again.
My infrastructure
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031{ lib, stdenv, fetchurl, autoPatchelfHook, glib, libsecret }:stdenv.mkDerivation rec { pname = "box-cli"; version = "4.10.1"; src = fetchurl { url = "https://github.com/box/boxcli/releases/download/v${version}/box-v${version}-linux-x64.tar.gz"; hash = "sha256-ubBHwImV11e3wBhlR6BAQ73x+kbR9ht+vip/iJMswmM="; }; nativeBuildInputs = [ autoPatchelfHook ]; autoPatchelfIgnoreMissingDeps = [ "libc.musl-x86_64.so.1" ]; buildInputs = [ stdenv.cc.cc.lib glib libsecret ]; installPhase = '' runHook preInstall mkdir -p $out/lib/box-cli $out/bin cp -r . $out/lib/box-cli/ ln -s $out/lib/box-cli/bin/box $out/bin/box runHook postInstall ''; meta = { description = "Official command line interface for the Box API"; homepage = "https://github.com/box/boxcli"; license = lib.licenses.asl20; mainProgram = "box"; platforms = [ "x86_64-linux" ]; };}