depot/web/fup/default.nix

27 lines
561 B
Nix

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