commit
741163efdb
@ -36,7 +36,7 @@
|
||||
let
|
||||
basicEnv = (callPackage ../bundled-common {}) args;
|
||||
|
||||
cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" ] // {
|
||||
cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" "gemset" ] // {
|
||||
inherit preferLocalBuild allowSubstitutes; # pass the defaults
|
||||
|
||||
buildInputs = buildInputs ++ lib.optional (scripts != []) makeWrapper;
|
||||
|
2
pkgs/tools/misc/3llo/Gemfile
Normal file
2
pkgs/tools/misc/3llo/Gemfile
Normal file
@ -0,0 +1,2 @@
|
||||
source 'https://rubygems.org'
|
||||
gem '3llo', '0.3.0'
|
27
pkgs/tools/misc/3llo/Gemfile.lock
Normal file
27
pkgs/tools/misc/3llo/Gemfile.lock
Normal file
@ -0,0 +1,27 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
3llo (0.3.0)
|
||||
tty-prompt (~> 0.12.0)
|
||||
equatable (0.6.1)
|
||||
necromancer (0.4.0)
|
||||
pastel (0.7.3)
|
||||
equatable (~> 0.6)
|
||||
tty-color (~> 0.5)
|
||||
tty-color (0.5.0)
|
||||
tty-cursor (0.4.0)
|
||||
tty-prompt (0.12.0)
|
||||
necromancer (~> 0.4.0)
|
||||
pastel (~> 0.7.0)
|
||||
tty-cursor (~> 0.4.0)
|
||||
wisper (~> 1.6.1)
|
||||
wisper (1.6.1)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
3llo (= 0.3.0)
|
||||
|
||||
BUNDLED WITH
|
||||
1.17.2
|
31
pkgs/tools/misc/3llo/default.nix
Normal file
31
pkgs/tools/misc/3llo/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib, ruby, bundlerApp, fetchpatch }:
|
||||
|
||||
bundlerApp {
|
||||
pname = "3llo";
|
||||
|
||||
gemfile = ./Gemfile;
|
||||
lockfile = ./Gemfile.lock;
|
||||
|
||||
gemset = lib.recursiveUpdate (import ./gemset.nix) ({
|
||||
"3llo" = {
|
||||
dontBuild = false;
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = https://github.com/qcam/3llo/commit/7667c67fdc975bac315da027a3c69f49e7c06a2e.patch;
|
||||
sha256 = "0ahp19igj77x23b2j9zk3znlmm7q7nija7mjgsmgqkgfbz2r1y7v";
|
||||
})
|
||||
];
|
||||
};
|
||||
});
|
||||
|
||||
inherit ruby;
|
||||
|
||||
exes = [ "3llo" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Trello interactive CLI on terminal";
|
||||
license = licenses.mit;
|
||||
homepage = https://github.com/qcam/3llo;
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
};
|
||||
}
|
85
pkgs/tools/misc/3llo/gemset.nix
Normal file
85
pkgs/tools/misc/3llo/gemset.nix
Normal file
@ -0,0 +1,85 @@
|
||||
{
|
||||
"3llo" = {
|
||||
dependencies = ["tty-prompt"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "082g42lkkynnb2piz37ih696zm2ms63mz2q9rnfzjsd149ig39yy";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.3.0";
|
||||
};
|
||||
equatable = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0fzx2ishipnp6c124ka6fiw5wk42s7c7gxid2c4c1mb55b30dglf";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.6.1";
|
||||
};
|
||||
necromancer = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0v9nhdkv6zrp7cn48xv7n2vjhsbslpvs0ha36mfkcd56cp27pavz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.4.0";
|
||||
};
|
||||
pastel = {
|
||||
dependencies = ["equatable" "tty-color"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0m43wk7gswwkl6lfxwlliqc9v1qp8arfygihyz91jc9icf270xzm";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.7.3";
|
||||
};
|
||||
tty-color = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1zpp6zixkkchrc2lqnabrsy24pxikz2px87ggz5ph6355fs803da";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.5.0";
|
||||
};
|
||||
tty-cursor = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "07whfm8mnp7l49s2cm2qy1snhsqq3a90sqwb71gvym4hm2kx822a";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.4.0";
|
||||
};
|
||||
tty-prompt = {
|
||||
dependencies = ["necromancer" "pastel" "tty-cursor" "wisper"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1026nyqhgmgxi2nmk8xk3hca07gy5rpisjs8y6w00wnw4f01kpv0";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.12.0";
|
||||
};
|
||||
wisper = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "19bw0z1qw1dhv7gn9lad25hgbgpb1bkw8d599744xdfam158ms2s";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.6.1";
|
||||
};
|
||||
}
|
@ -454,6 +454,8 @@ in
|
||||
|
||||
_0x0 = callPackage ../tools/misc/0x0 { };
|
||||
|
||||
_3llo = callPackage ../tools/misc/3llo { };
|
||||
|
||||
_1password = callPackage ../applications/misc/1password { };
|
||||
|
||||
_9pfs = callPackage ../tools/filesystems/9pfs { };
|
||||
|
Loading…
Reference in New Issue
Block a user