git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #65370 from Ma27/package-3llo

_3llo: init at 0.3.0

commit741163efdb1772ed9018231cdf3b12cc5da63112 authorworldofpeace <worldofpeace@protonmail.ch> dateSun 25 Aug 2019, 15:42 (7 years ago) parent3f36ec5ebc4a41
6 files changed+148−1
pkgs/development/ruby-modules/bundler-app/default.nix+1−1 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/development/ruby-modules/bundler-app/default.nix+1−1
@@ -36,7 +36,7 @@
3636let
3737 basicEnv = (callPackage ../bundled-common {}) args;
3838
39− cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" ] // {
39+ cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" "gemset" ] // {
4040 inherit preferLocalBuild allowSubstitutes; # pass the defaults
4141
4242 buildInputs = buildInputs ++ lib.optional (scripts != []) makeWrapper;
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
@@ -454,6 +454,8 @@ in
454454
455455 _0x0 = callPackage ../tools/misc/0x0 { };
456456
457+ _3llo = callPackage ../tools/misc/3llo { };
458+
457459 _1password = callPackage ../applications/misc/1password { };
458460
459461 _9pfs = callPackage ../tools/filesystems/9pfs { };