git.iko.soy/typeable/nixpkgs
on master help sign in
up: init at 0.3.1

With this tool you can interactively write shell pipes with a previewed intermediate result. See https://github.com/akavel/up

commit0045ea5b10edd00f00a5077fb3b0107f5b242e89 authorMaximilian Bosch <maximilian@mbosch.me> dateFri 9 Nov 2018, 14:14 (8 years ago) parent5e02b5e
3 files changed+91
pkgs/tools/misc/up/default.nix+23 pkgs/tools/misc/up/deps.nix+66 pkgs/top-level/all-packages.nix+2
pkgs/tools/misc/up/default.nixnew file+23
@@ -0,0 +1,23 @@
1+{ lib, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ name = "up-${version}";
5+ version = "0.3.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "akavel";
9+ repo = "up";
10+ rev = "v${version}";
11+ sha256 = "171bwbk2c7jbi51xdawzv7qy71492mfs9z5j0a5j52qmnr4vjjgs";
12+ };
13+
14+ goPackagePath = "github.com/akavel/up";
15+ goDeps = ./deps.nix;
16+
17+ meta = with lib; {
18+ description = "Ultimate Plumber is a tool for writing Linux pipes with instant live preview";
19+ homepage = https://github.com/akavel/up;
20+ maintainers = with maintainers; [ ma27 ];
21+ license = licenses.asl20;
22+ };
23+}
pkgs/tools/misc/up/deps.nixnew file+66
@@ -0,0 +1,66 @@
1+# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
2+[
3+ {
4+ goPackagePath = "github.com/gdamore/encoding";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/gdamore/encoding";
8+ rev = "b23993cbb6353f0e6aa98d0ee318a34728f628b9";
9+ sha256 = "0d7irqpx2fa9vkxgkhf04yiwazsm10fxh0yk86x5crflhph5fv8a";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/gdamore/tcell";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/gdamore/tcell";
17+ rev = "017915a4d77dabd7af10ab539e618a735d4b9c0a";
18+ sha256 = "19ymkgcvcp9sz2jrfi7h6l720w5yw9hy3wnw975w2ih45j1ypqdh";
19+ };
20+ }
21+ {
22+ goPackagePath = "github.com/lucasb-eyer/go-colorful";
23+ fetch = {
24+ type = "git";
25+ url = "https://github.com/lucasb-eyer/go-colorful";
26+ rev = "12d3b2882a08d1abc9488e34f3e1ae35165f2d07";
27+ sha256 = "1w95axfn1a6rz31xrks77ingr9mdkqyr7mh0glv664kz1wg2h0gw";
28+ };
29+ }
30+ {
31+ goPackagePath = "github.com/mattn/go-isatty";
32+ fetch = {
33+ type = "git";
34+ url = "https://github.com/mattn/go-isatty";
35+ rev = "3fb116b820352b7f0c281308a4d6250c22d94e27";
36+ sha256 = "084hplr4n4g5nvp70clljk428hc963460xz0ggcj3xdi4w7hhsvv";
37+ };
38+ }
39+ {
40+ goPackagePath = "github.com/mattn/go-runewidth";
41+ fetch = {
42+ type = "git";
43+ url = "https://github.com/mattn/go-runewidth";
44+ rev = "b20a3daf6a39840c202fd42cc23d53607162b045";
45+ sha256 = "0crivpncmh22696d5cy7k15ll5yqfjcigk0xy73wb6g1q6vnfxs7";
46+ };
47+ }
48+ {
49+ goPackagePath = "github.com/spf13/pflag";
50+ fetch = {
51+ type = "git";
52+ url = "https://github.com/spf13/pflag";
53+ rev = "aea12ed6721610dc6ed40141676d7ab0a1dac9e9";
54+ sha256 = "17p5k37bnzj6wfh000y7xpvxyv2wsfa3db9sm8da2frjvn7jgbp2";
55+ };
56+ }
57+ {
58+ goPackagePath = "golang.org/x/text";
59+ fetch = {
60+ type = "git";
61+ url = "https://go.googlesource.com/text";
62+ rev = "6f44c5a2ea40ee3593d98cdcc905cc1fdaa660e2";
63+ sha256 = "00mwzxly5isgf0glz7k3k2dkyqkjfc4z55qxajx4lgcp3h8xn9xj";
64+ };
65+ }
66+]
pkgs/top-level/all-packages.nix+2
@@ -5884,6 +5884,8 @@ with pkgs;
58845884
58855885 untrunc = callPackage ../tools/video/untrunc { };
58865886
5887+ up = callPackage ../tools/misc/up { };
5888+
58875889 upx = callPackage ../tools/compression/upx { };
58885890
58895891 uqmi = callPackage ../tools/networking/uqmi { };