# 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 ]} ''; vendorSha256 = "sha256:0myd1p61q777ybbwdz8k4nbchh2hv1yr8008061m3gc44s3gsphx"; meta = with pkgs.lib; { description = "Simple file upload manager."; homepage = "https://hg.lukegb.com"; license = licenses.asl20; platforms = platforms.linux; }; }