summary refs log tree commit diff
path: root/pkgs/tools/system/colorls
diff options
context:
space:
mode:
authorLuke Bentley-Fox <lbentley-fox1@sheffield.ac.uk>2019-05-29 17:55:15 +0100
committerLuke Bentley-Fox <lbentley-fox1@sheffield.ac.uk>2019-05-30 15:50:53 +0100
commit76c44ebc651f8c4f45bc4c513cea6ff58468d3b8 (patch)
tree542efee95a6a1ed99b07d36a97057eda589a7f36 /pkgs/tools/system/colorls
parentd9d5c8d7dc75d1a337fb65e92d7f3fc9932b1511 (diff)
downloadnixpkgs-76c44ebc651f8c4f45bc4c513cea6ff58468d3b8.tar
nixpkgs-76c44ebc651f8c4f45bc4c513cea6ff58468d3b8.tar.gz
nixpkgs-76c44ebc651f8c4f45bc4c513cea6ff58468d3b8.tar.bz2
nixpkgs-76c44ebc651f8c4f45bc4c513cea6ff58468d3b8.tar.lz
nixpkgs-76c44ebc651f8c4f45bc4c513cea6ff58468d3b8.tar.xz
nixpkgs-76c44ebc651f8c4f45bc4c513cea6ff58468d3b8.tar.zst
nixpkgs-76c44ebc651f8c4f45bc4c513cea6ff58468d3b8.zip
colorls: init at 1.2.0
Diffstat (limited to 'pkgs/tools/system/colorls')
-rw-r--r--pkgs/tools/system/colorls/Gemfile2
-rw-r--r--pkgs/tools/system/colorls/Gemfile.lock21
-rw-r--r--pkgs/tools/system/colorls/default.nix16
-rw-r--r--pkgs/tools/system/colorls/gemset.nix53
4 files changed, 92 insertions, 0 deletions
diff --git a/pkgs/tools/system/colorls/Gemfile b/pkgs/tools/system/colorls/Gemfile
new file mode 100644
index 00000000000..0d41bd279cc
--- /dev/null
+++ b/pkgs/tools/system/colorls/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem 'colorls'
diff --git a/pkgs/tools/system/colorls/Gemfile.lock b/pkgs/tools/system/colorls/Gemfile.lock
new file mode 100644
index 00000000000..583fd3b1202
--- /dev/null
+++ b/pkgs/tools/system/colorls/Gemfile.lock
@@ -0,0 +1,21 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    clocale (0.0.4)
+    colorls (1.2.0)
+      clocale (~> 0)
+      filesize (~> 0)
+      manpages (~> 0)
+      rainbow (>= 2.2, < 4.0)
+    filesize (0.2.0)
+    manpages (0.6.1)
+    rainbow (3.0.0)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  colorls
+
+BUNDLED WITH
+   1.17.2
diff --git a/pkgs/tools/system/colorls/default.nix b/pkgs/tools/system/colorls/default.nix
new file mode 100644
index 00000000000..45c3bdf1f40
--- /dev/null
+++ b/pkgs/tools/system/colorls/default.nix
@@ -0,0 +1,16 @@
+{ lib, bundlerApp, ruby, ... }:
+
+bundlerApp rec {
+  pname = "colorls";
+
+  gemdir = ./.;
+  exes = [ "colorls" ];
+
+  meta = with lib; {
+    description = "Prettified LS";
+    homepage    = https://github.com/athityakumar/colorls;
+    license     = with licenses; mit;
+    maintainers = with maintainers; [ lukebfox ];
+    platforms   = ruby.meta.platforms;
+  };
+}
diff --git a/pkgs/tools/system/colorls/gemset.nix b/pkgs/tools/system/colorls/gemset.nix
new file mode 100644
index 00000000000..e7264a895a2
--- /dev/null
+++ b/pkgs/tools/system/colorls/gemset.nix
@@ -0,0 +1,53 @@
+{
+  clocale = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "065pb7hzmd6zndbln4ag94bjpw3hsm71jagsgiqskpxhgrbq03jz";
+      type = "gem";
+    };
+    version = "0.0.4";
+  };
+  colorls = {
+    dependencies = ["clocale" "filesize" "manpages" "rainbow"];
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "0bcrig88ipzj43lnkrb5qmimdrml4lx15rcrhr6m2hxb0pks8932";
+      type = "gem";
+    };
+    version = "1.2.0";
+  };
+  filesize = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "17p7rf1x7h3ivaznb4n4kmxnnzj25zaviryqgn2n12v2kmibhp8g";
+      type = "gem";
+    };
+    version = "0.2.0";
+  };
+  manpages = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "11p6ilnfda6af15ks3xiz2pr0hkvdvadnk1xm4ahqlf84dld3fnd";
+      type = "gem";
+    };
+    version = "0.6.1";
+  };
+  rainbow = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "0bb2fpjspydr6x0s8pn1pqkzmxszvkfapv0p4627mywl7ky4zkhk";
+      type = "gem";
+    };
+    version = "3.0.0";
+  };
+}
\ No newline at end of file