mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #206405 from aaronjheng/filegive
This commit is contained in:
commit
e036eda447
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
12
pkgs/tools/networking/filegive/deps.nix
generated
12
pkgs/tools/networking/filegive/deps.nix
generated
@ -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";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user