git.iko.soy/typeable/nixpkgs
on master help sign in
qr-filetransfer: init at unstable-2018-10-22
commit0d649c8423cc6ae0bb62b3e208131669cb1dae71 authorFrancesco Gazzetta <fgaz@fgaz.me> dateWed 5 Dec 2018, 18:04 (8 years ago) parentd74d9c0
3 files changed+98
pkgs/tools/networking/qr-filetransfer/default.nix+30 pkgs/tools/networking/qr-filetransfer/deps.nix+66 pkgs/top-level/all-packages.nix+2
pkgs/tools/networking/qr-filetransfer/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ name = "qr-filetransfer-unstable-${version}";
5+ version = "2018-10-22";
6+
7+ goPackagePath = "github.com/claudiodangelis/qr-filetransfer";
8+
9+ src = fetchFromGitHub {
10+ rev = "b1e5b91aa2aa469f870c62074e879d46e353edae";
11+ owner = "claudiodangelis";
12+ repo = "qr-filetransfer";
13+ sha256 = "04cl3v6bzpaxp1scpsa42xxa1c1brbplq408bb7nixa98bacj4x1";
14+ };
15+
16+ goDeps = ./deps.nix;
17+
18+ meta = with stdenv.lib; {
19+ homepage = https://github.com/claudiodangelis/qr-filetransfer;
20+ description = "Transfer files over wifi by scanning a QR code from your terminal";
21+ longDescription = ''
22+ qr-filetransfer binds a web server to the address of your Wi-Fi network
23+ interface on a random port and creates a handler for it. The default
24+ handler serves the content and exits the program when the transfer is
25+ complete.
26+ '';
27+ license = licenses.mit;
28+ maintainers = with maintainers; [ fgaz ];
29+ };
30+}
pkgs/tools/networking/qr-filetransfer/deps.nixnew file+66
@@ -0,0 +1,66 @@
1+# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
2+[
3+ {
4+ goPackagePath = "github.com/mattn/go-colorable";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/mattn/go-colorable";
8+ rev = "efa589957cd060542a26d2dd7832fd6a6c6c3ade";
9+ sha256 = "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/mattn/go-isatty";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/mattn/go-isatty";
17+ rev = "3fb116b820352b7f0c281308a4d6250c22d94e27";
18+ sha256 = "084hplr4n4g5nvp70clljk428hc963460xz0ggcj3xdi4w7hhsvv";
19+ };
20+ }
21+ {
22+ goPackagePath = "github.com/mattn/go-runewidth";
23+ fetch = {
24+ type = "git";
25+ url = "https://github.com/mattn/go-runewidth";
26+ rev = "c88d7e5f2e24de48a200a2655ac8a0910be9a0f7";
27+ sha256 = "14prmzjlv9z31n6caaaq1kwi4p0mp3x4pv5r7d0575lcampa41jw";
28+ };
29+ }
30+ {
31+ goPackagePath = "github.com/mdp/qrterminal";
32+ fetch = {
33+ type = "git";
34+ url = "https://github.com/mdp/qrterminal";
35+ rev = "6967d3624af633162b77160078e12a4c14174470";
36+ sha256 = "1f2zrdv9sw2a6ni1712d27cayr3f8whqagx6f0yglc5gdd9f3i2n";
37+ };
38+ }
39+ {
40+ goPackagePath = "golang.org/x/sys";
41+ fetch = {
42+ type = "git";
43+ url = "https://go.googlesource.com/sys";
44+ rev = "a5c9d58dba9a56f97aaa86f55e638b718c5a6c42";
45+ sha256 = "02qv5i7yps35p7fa81345qz7k8i73gkigj69anwmpw9rhpmzayf9";
46+ };
47+ }
48+ {
49+ goPackagePath = "gopkg.in/cheggaaa/pb.v1";
50+ fetch = {
51+ type = "git";
52+ url = "https://gopkg.in/cheggaaa/pb.v1";
53+ rev = "007b75a044e968336a69a6c0c617251ab62ac14c";
54+ sha256 = "0l8m5cy6fbir7nrsk985ap7dxp9qlfmh8r73g7j9zg7pfq3lkhad";
55+ };
56+ }
57+ {
58+ goPackagePath = "rsc.io/qr";
59+ fetch = {
60+ type = "git";
61+ url = "https://github.com/rsc/qr";
62+ rev = "ca9a01fc2f9505024045632c50e5e8cd6142fafe";
63+ sha256 = "04yx493g0fqp8i59zjxnl4k3s0cl0kr5m8xh0ph8m10r1hkw0xr3";
64+ };
65+ }
66+]
pkgs/top-level/all-packages.nix+2
@@ -5062,6 +5062,8 @@ in
50625062
50635063 qshowdiff = callPackage ../tools/text/qshowdiff { };
50645064
5065+ qr-filetransfer = callPackage ../tools/networking/qr-filetransfer { };
5066+
50655067 qtikz = libsForQt5.callPackage ../applications/graphics/ktikz { };
50665068
50675069 quickserve = callPackage ../tools/networking/quickserve { };