# SPDX-FileCopyrightText: 2021 Luke Granger-Brown # # SPDX-License-Identifier: Apache-2.0 { depot, pkgs, ... }: let inherit (pkgs) lib; in pkgs.buildGoModule { pname = "fup"; version = "0.0.1"; src = ./.; nativeBuildInputs = [ depot.third_party.cheddar pkgs.makeWrapper ]; postInstall = '' wrapProgram $out/bin/fup --prefix PATH : ${lib.makeBinPath [ depot.third_party.cheddar ]} ''; vendorHash = "sha256:0i2ag29jsv3dmd28q7h022z3ym6mh9mywpxy4i6d8fg7gai7xkph"; meta = with pkgs.lib; { description = "Simple file upload manager."; homepage = "https://git.lukegb.com"; license = licenses.asl20; platforms = platforms.linux; }; }