qr-filetransfer: init at unstable-2018-10-22

This commit is contained in:
Francesco Gazzetta 2018-12-05 18:04:45 +01:00 committed by worldofpeace
parent d74d9c0378
commit 0d649c8423
3 changed files with 98 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "qr-filetransfer-unstable-${version}";
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; {
homepage = https://github.com/claudiodangelis/qr-filetransfer;
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 ];
};
}

View file

@ -0,0 +1,66 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "github.com/mattn/go-colorable";
fetch = {
type = "git";
url = "https://github.com/mattn/go-colorable";
rev = "efa589957cd060542a26d2dd7832fd6a6c6c3ade";
sha256 = "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r";
};
}
{
goPackagePath = "github.com/mattn/go-isatty";
fetch = {
type = "git";
url = "https://github.com/mattn/go-isatty";
rev = "3fb116b820352b7f0c281308a4d6250c22d94e27";
sha256 = "084hplr4n4g5nvp70clljk428hc963460xz0ggcj3xdi4w7hhsvv";
};
}
{
goPackagePath = "github.com/mattn/go-runewidth";
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
rev = "c88d7e5f2e24de48a200a2655ac8a0910be9a0f7";
sha256 = "14prmzjlv9z31n6caaaq1kwi4p0mp3x4pv5r7d0575lcampa41jw";
};
}
{
goPackagePath = "github.com/mdp/qrterminal";
fetch = {
type = "git";
url = "https://github.com/mdp/qrterminal";
rev = "6967d3624af633162b77160078e12a4c14174470";
sha256 = "1f2zrdv9sw2a6ni1712d27cayr3f8whqagx6f0yglc5gdd9f3i2n";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "a5c9d58dba9a56f97aaa86f55e638b718c5a6c42";
sha256 = "02qv5i7yps35p7fa81345qz7k8i73gkigj69anwmpw9rhpmzayf9";
};
}
{
goPackagePath = "gopkg.in/cheggaaa/pb.v1";
fetch = {
type = "git";
url = "https://gopkg.in/cheggaaa/pb.v1";
rev = "007b75a044e968336a69a6c0c617251ab62ac14c";
sha256 = "0l8m5cy6fbir7nrsk985ap7dxp9qlfmh8r73g7j9zg7pfq3lkhad";
};
}
{
goPackagePath = "rsc.io/qr";
fetch = {
type = "git";
url = "https://github.com/rsc/qr";
rev = "ca9a01fc2f9505024045632c50e5e8cd6142fafe";
sha256 = "04yx493g0fqp8i59zjxnl4k3s0cl0kr5m8xh0ph8m10r1hkw0xr3";
};
}
]

View file

@ -5062,6 +5062,8 @@ in
qshowdiff = callPackage ../tools/text/qshowdiff { };
qr-filetransfer = callPackage ../tools/networking/qr-filetransfer { };
qtikz = libsForQt5.callPackage ../applications/graphics/ktikz { };
quickserve = callPackage ../tools/networking/quickserve { };