git.iko.soy/typeable/nixpkgs
on master help sign in
_3llo: init at 0.3.0

Simple CLI client for `trello.com`. It can be used like this: ``` $ export TRELLO_USER=your_username $ export TRELLO_KEY=your_key $ export TRELLO_TOKEN=your_token $ ./result/bin/3llo ``` I didn't create a module for this as I don't think that those secrets should live in the Nix store. Ideally `3llo` can be used from a script which retrieves secrets from some kind of password store like this: ``` export TRELLO_KEY=$(pass show trello/key) export TRELLO_TOKEN=$(pass show trello/token) 3llo $@ ```

commit0ad3568114382c0f50e83a13991370a13a6aab06 authorMaximilian Bosch <maximilian@mbosch.me> dateThu 25 Jul 2019, 13:38 (7 years ago) parentb5f5c97
5 files changed+147
pkgs/tools/misc/3llo/Gemfile+2 pkgs/tools/misc/3llo/Gemfile.lock+27 pkgs/tools/misc/3llo/default.nix+31 pkgs/tools/misc/3llo/gemset.nix+85 pkgs/top-level/all-packages.nix+2
pkgs/tools/misc/3llo/Gemfilenew file+2
@@ -0,0 +1,2 @@
1+source 'https://rubygems.org'
2+gem '3llo', '0.3.0'
pkgs/tools/misc/3llo/Gemfile.locknew file+27
@@ -0,0 +1,27 @@
1+GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ 3llo (0.3.0)
5+ tty-prompt (~> 0.12.0)
6+ equatable (0.6.1)
7+ necromancer (0.4.0)
8+ pastel (0.7.3)
9+ equatable (~> 0.6)
10+ tty-color (~> 0.5)
11+ tty-color (0.5.0)
12+ tty-cursor (0.4.0)
13+ tty-prompt (0.12.0)
14+ necromancer (~> 0.4.0)
15+ pastel (~> 0.7.0)
16+ tty-cursor (~> 0.4.0)
17+ wisper (~> 1.6.1)
18+ wisper (1.6.1)
19+
20+PLATFORMS
21+ ruby
22+
23+DEPENDENCIES
24+ 3llo (= 0.3.0)
25+
26+BUNDLED WITH
27+ 1.17.2
pkgs/tools/misc/3llo/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib, ruby, bundlerApp, fetchpatch }:
2+
3+bundlerApp {
4+ pname = "3llo";
5+
6+ gemfile = ./Gemfile;
7+ lockfile = ./Gemfile.lock;
8+
9+ gemset = lib.recursiveUpdate (import ./gemset.nix) ({
10+ "3llo" = {
11+ dontBuild = false;
12+ patches = [
13+ (fetchpatch {
14+ url = https://github.com/qcam/3llo/commit/7667c67fdc975bac315da027a3c69f49e7c06a2e.patch;
15+ sha256 = "0ahp19igj77x23b2j9zk3znlmm7q7nija7mjgsmgqkgfbz2r1y7v";
16+ })
17+ ];
18+ };
19+ });
20+
21+ inherit ruby;
22+
23+ exes = [ "3llo" ];
24+
25+ meta = with lib; {
26+ description = "Trello interactive CLI on terminal";
27+ license = licenses.mit;
28+ homepage = https://github.com/qcam/3llo;
29+ maintainers = with maintainers; [ ma27 ];
30+ };
31+}
pkgs/tools/misc/3llo/gemset.nixnew file+85
@@ -0,0 +1,85 @@
1+{
2+ "3llo" = {
3+ dependencies = ["tty-prompt"];
4+ groups = ["default"];
5+ platforms = [];
6+ source = {
7+ remotes = ["https://rubygems.org"];
8+ sha256 = "082g42lkkynnb2piz37ih696zm2ms63mz2q9rnfzjsd149ig39yy";
9+ type = "gem";
10+ };
11+ version = "0.3.0";
12+ };
13+ equatable = {
14+ groups = ["default"];
15+ platforms = [];
16+ source = {
17+ remotes = ["https://rubygems.org"];
18+ sha256 = "0fzx2ishipnp6c124ka6fiw5wk42s7c7gxid2c4c1mb55b30dglf";
19+ type = "gem";
20+ };
21+ version = "0.6.1";
22+ };
23+ necromancer = {
24+ groups = ["default"];
25+ platforms = [];
26+ source = {
27+ remotes = ["https://rubygems.org"];
28+ sha256 = "0v9nhdkv6zrp7cn48xv7n2vjhsbslpvs0ha36mfkcd56cp27pavz";
29+ type = "gem";
30+ };
31+ version = "0.4.0";
32+ };
33+ pastel = {
34+ dependencies = ["equatable" "tty-color"];
35+ groups = ["default"];
36+ platforms = [];
37+ source = {
38+ remotes = ["https://rubygems.org"];
39+ sha256 = "0m43wk7gswwkl6lfxwlliqc9v1qp8arfygihyz91jc9icf270xzm";
40+ type = "gem";
41+ };
42+ version = "0.7.3";
43+ };
44+ tty-color = {
45+ groups = ["default"];
46+ platforms = [];
47+ source = {
48+ remotes = ["https://rubygems.org"];
49+ sha256 = "1zpp6zixkkchrc2lqnabrsy24pxikz2px87ggz5ph6355fs803da";
50+ type = "gem";
51+ };
52+ version = "0.5.0";
53+ };
54+ tty-cursor = {
55+ groups = ["default"];
56+ platforms = [];
57+ source = {
58+ remotes = ["https://rubygems.org"];
59+ sha256 = "07whfm8mnp7l49s2cm2qy1snhsqq3a90sqwb71gvym4hm2kx822a";
60+ type = "gem";
61+ };
62+ version = "0.4.0";
63+ };
64+ tty-prompt = {
65+ dependencies = ["necromancer" "pastel" "tty-cursor" "wisper"];
66+ groups = ["default"];
67+ platforms = [];
68+ source = {
69+ remotes = ["https://rubygems.org"];
70+ sha256 = "1026nyqhgmgxi2nmk8xk3hca07gy5rpisjs8y6w00wnw4f01kpv0";
71+ type = "gem";
72+ };
73+ version = "0.12.0";
74+ };
75+ wisper = {
76+ groups = ["default"];
77+ platforms = [];
78+ source = {
79+ remotes = ["https://rubygems.org"];
80+ sha256 = "19bw0z1qw1dhv7gn9lad25hgbgpb1bkw8d599744xdfam158ms2s";
81+ type = "gem";
82+ };
83+ version = "1.6.1";
84+ };
85+}
pkgs/top-level/all-packages.nix+2
@@ -435,6 +435,8 @@ in
435435
436436 _0x0 = callPackage ../tools/misc/0x0 { };
437437
438+ _3llo = callPackage ../tools/misc/3llo { };
439+
438440 _1password = callPackage ../applications/misc/1password { };
439441
440442 _9pfs = callPackage ../tools/filesystems/9pfs { };