Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
24 lines
632 B
Nix
24 lines
632 B
Nix
{ buildGoModule, lib, fetchurl }:
|
|
|
|
buildGoModule rec {
|
|
pname = "filegive";
|
|
version = "unstable-2022-05-29";
|
|
rev = "5b28e7087a";
|
|
|
|
src = fetchurl {
|
|
url = "https://viric.name/cgi-bin/filegive/tarball/${rev}/filegive-${rev}.tar.gz";
|
|
hash = "sha256-A69oys59GEysZvQLaYsfoX/X2ENMMH2BGfJqXohQjpc=";
|
|
};
|
|
|
|
vendorHash = "sha256-l7FRl58NWGBynMlGu1SCxeVBEzTdxREvUWzmJDiliZM=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://viric.name/cgi-bin/filegive";
|
|
description = "Easy p2p file sending program";
|
|
license = licenses.agpl3Plus;
|
|
maintainers = [ ];
|
|
mainProgram = "filegive";
|
|
};
|
|
}
|