nixpkgs/pkgs/tools/networking/filegive/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
626 B
Nix
Raw Normal View History

2022-12-16 13:41:17 +00:00
{ buildGoModule, lib, fetchurl }:
2022-12-16 13:41:17 +00:00
buildGoModule rec {
pname = "filegive";
2022-12-16 13:41:17 +00:00
version = "unstable-2022-05-29";
rev = "5b28e7087a";
src = fetchurl {
2022-12-16 13:41:17 +00:00
url = "https://viric.name/cgi-bin/filegive/tarball/${rev}/filegive-${rev}.tar.gz";
hash = "sha256-A69oys59GEysZvQLaYsfoX/X2ENMMH2BGfJqXohQjpc=";
};
2022-12-16 13:41:17 +00:00
vendorHash = "sha256-l7FRl58NWGBynMlGu1SCxeVBEzTdxREvUWzmJDiliZM=";
2022-12-16 13:41:17 +00:00
ldflags = [ "-s" "-w" ];
meta = with lib; {
2021-08-11 23:19:38 +00:00
homepage = "https://viric.name/cgi-bin/filegive";
2013-05-02 07:34:42 +00:00
description = "Easy p2p file sending program";
2018-12-11 18:12:55 +00:00
license = licenses.agpl3Plus;
2022-12-16 13:41:17 +00:00
maintainers = with maintainers; [ viric ];
};
}