From cfd3e8f48f2e846cc07470b82fbba004fa16be82 Mon Sep 17 00:00:00 2001 From: jraygauthier Date: Sun, 19 Nov 2017 10:21:28 -0500 Subject: [PATCH] bcat: init at 0.6.2 (#31813) --- pkgs/tools/text/bcat/Gemfile | 2 ++ pkgs/tools/text/bcat/Gemfile.lock | 15 +++++++++++++++ pkgs/tools/text/bcat/default.nix | 15 +++++++++++++++ pkgs/tools/text/bcat/gemset.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 5 files changed, 53 insertions(+) create mode 100644 pkgs/tools/text/bcat/Gemfile create mode 100644 pkgs/tools/text/bcat/Gemfile.lock create mode 100644 pkgs/tools/text/bcat/default.nix create mode 100644 pkgs/tools/text/bcat/gemset.nix diff --git a/pkgs/tools/text/bcat/Gemfile b/pkgs/tools/text/bcat/Gemfile new file mode 100644 index 00000000000..f389866324d --- /dev/null +++ b/pkgs/tools/text/bcat/Gemfile @@ -0,0 +1,2 @@ +source 'http://rubygems.org' +gem 'bcat' diff --git a/pkgs/tools/text/bcat/Gemfile.lock b/pkgs/tools/text/bcat/Gemfile.lock new file mode 100644 index 00000000000..c39ebc27910 --- /dev/null +++ b/pkgs/tools/text/bcat/Gemfile.lock @@ -0,0 +1,15 @@ +GEM + remote: http://rubygems.org/ + specs: + bcat (0.6.2) + rack (~> 1.0) + rack (1.6.8) + +PLATFORMS + ruby + +DEPENDENCIES + bcat + +BUNDLED WITH + 1.15.4 diff --git a/pkgs/tools/text/bcat/default.nix b/pkgs/tools/text/bcat/default.nix new file mode 100644 index 00000000000..72fb8aa8e2e --- /dev/null +++ b/pkgs/tools/text/bcat/default.nix @@ -0,0 +1,15 @@ +{ lib, bundlerApp }: + +bundlerApp { + pname = "bcat"; + gemdir = ./.; + exes = [ "bcat" "btee" "a2h" ]; + + meta = with lib; { + description = "Pipe to browser utility"; + homepage = http://rtomayko.github.com/bcat/; + license = licenses.mit; + maintainers = [ maintainers.jraygauthier ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/tools/text/bcat/gemset.nix b/pkgs/tools/text/bcat/gemset.nix new file mode 100644 index 00000000000..0654e35399d --- /dev/null +++ b/pkgs/tools/text/bcat/gemset.nix @@ -0,0 +1,19 @@ +{ + bcat = { + dependencies = ["rack"]; + source = { + remotes = ["http://rubygems.org"]; + sha256 = "0w2wwlngcs7f4lmvifixrb89bjkw2lx8z0nn72w360hz394ic651"; + type = "gem"; + }; + version = "0.6.2"; + }; + rack = { + source = { + remotes = ["http://rubygems.org"]; + sha256 = "19m7aixb2ri7p1n0iqaqx8ldi97xdhvbxijbyrrcdcl6fv5prqza"; + type = "gem"; + }; + version = "1.6.8"; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bf46ecb2192..0a5191b5f65 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -709,6 +709,8 @@ with pkgs; bdf2psf = callPackage ../tools/misc/bdf2psf { }; + bcat = callPackage ../tools/text/bcat {}; + bcache-tools = callPackage ../tools/filesystems/bcache-tools { }; bchunk = callPackage ../tools/cd-dvd/bchunk { };