2018-12-05 18:04:45 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
buildGoPackage {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "qr-filetransfer-unstable";
|
2018-12-05 18:04:45 +01:00
|
|
|
version = "2018-10-22";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/claudiodangelis/qr-filetransfer";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "b1e5b91aa2aa469f870c62074e879d46e353edae";
|
|
|
|
owner = "claudiodangelis";
|
|
|
|
repo = "qr-filetransfer";
|
|
|
|
sha256 = "04cl3v6bzpaxp1scpsa42xxa1c1brbplq408bb7nixa98bacj4x1";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/claudiodangelis/qr-filetransfer";
|
2018-12-05 18:04:45 +01:00
|
|
|
description = "Transfer files over wifi by scanning a QR code from your terminal";
|
|
|
|
longDescription = ''
|
|
|
|
qr-filetransfer binds a web server to the address of your Wi-Fi network
|
|
|
|
interface on a random port and creates a handler for it. The default
|
|
|
|
handler serves the content and exits the program when the transfer is
|
|
|
|
complete.
|
|
|
|
'';
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
};
|
|
|
|
}
|