2023-01-11 07:51:40 +00:00
|
|
|
{ buildGoModule, lib, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
buildGoModule rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "filegive";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "unstable-2022-05-29";
|
|
|
|
rev = "5b28e7087a";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-01-11 07:51:40 +00:00
|
|
|
url = "https://viric.name/cgi-bin/filegive/tarball/${rev}/filegive-${rev}.tar.gz";
|
|
|
|
hash = "sha256-A69oys59GEysZvQLaYsfoX/X2ENMMH2BGfJqXohQjpc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
vendorHash = "sha256-l7FRl58NWGBynMlGu1SCxeVBEzTdxREvUWzmJDiliZM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
ldflags = [ "-s" "-w" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-08-12 14:41:47 +00:00
|
|
|
homepage = "https://viric.name/cgi-bin/filegive";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Easy p2p file sending program";
|
|
|
|
license = licenses.agpl3Plus;
|
2023-01-11 07:51:40 +00:00
|
|
|
maintainers = with maintainers; [ viric ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|