Merge pull request #206405 from aaronjheng/filegive

This commit is contained in:
Sandro 2023-01-03 22:57:59 +01:00 committed by GitHub
commit e036eda447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 21 deletions

View File

@ -1,23 +1,23 @@
{ buildGoPackage, lib, fetchurl }:
{ buildGoModule, lib, fetchurl }:
buildGoPackage rec {
buildGoModule rec {
pname = "filegive";
version = "0.7.4";
version = "unstable-2022-05-29";
rev = "5b28e7087a";
src = fetchurl {
url = "https://viric.name/soft/filegive/filegive-${version}.tar.gz";
sha256 = "1z3vyqfdp271qa5ah0i6jmn9gh3gb296wcm33sd2zfjqapyh12hy";
url = "https://viric.name/cgi-bin/filegive/tarball/${rev}/filegive-${rev}.tar.gz";
hash = "sha256-A69oys59GEysZvQLaYsfoX/X2ENMMH2BGfJqXohQjpc=";
};
goDeps = ./deps.nix;
vendorHash = "sha256-l7FRl58NWGBynMlGu1SCxeVBEzTdxREvUWzmJDiliZM=";
goPackagePath = "viric.name/soft/filegive";
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://viric.name/cgi-bin/filegive";
description = "Easy p2p file sending program";
license = licenses.agpl3Plus;
maintainers = [ maintainers.viric ];
platforms = platforms.unix;
maintainers = with maintainers; [ viric ];
};
}

View File

@ -1,12 +0,0 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "code.google.com/p/go-nat-pmp";
fetch = {
type = "git";
url = "https://github.com/jackpal/go-nat-pmp";
rev = "e04deda90d5683d6e375732740814a89eea7bafd";
sha256 = "1swwfyzaj3l40yh9np3x4fcracgs79nwryc85sxbdakx8wwxs2xb";
};
}
]