From dd0994e91991ede9234b83d11f390f5eff0f23ee Mon Sep 17 00:00:00 2001 From: zimbatm Date: Mon, 4 Apr 2016 11:55:48 +0100 Subject: [PATCH] travis: init at 1.8.2 --- pkgs/development/tools/misc/travis/Gemfile | 3 + .../tools/misc/travis/Gemfile.lock | 51 ++++++ .../development/tools/misc/travis/default.nix | 29 ++++ pkgs/development/tools/misc/travis/gemset.nix | 146 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 5 files changed, 231 insertions(+) create mode 100644 pkgs/development/tools/misc/travis/Gemfile create mode 100644 pkgs/development/tools/misc/travis/Gemfile.lock create mode 100644 pkgs/development/tools/misc/travis/default.nix create mode 100644 pkgs/development/tools/misc/travis/gemset.nix diff --git a/pkgs/development/tools/misc/travis/Gemfile b/pkgs/development/tools/misc/travis/Gemfile new file mode 100644 index 000000000000..d52f576be243 --- /dev/null +++ b/pkgs/development/tools/misc/travis/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem "travis" diff --git a/pkgs/development/tools/misc/travis/Gemfile.lock b/pkgs/development/tools/misc/travis/Gemfile.lock new file mode 100644 index 000000000000..e84e87fb5232 --- /dev/null +++ b/pkgs/development/tools/misc/travis/Gemfile.lock @@ -0,0 +1,51 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + backports (3.6.8) + ethon (0.8.1) + ffi (>= 1.3.0) + faraday (0.9.2) + multipart-post (>= 1.2, < 3) + faraday_middleware (0.10.0) + faraday (>= 0.7.4, < 0.10) + ffi (1.9.10) + gh (0.14.0) + addressable + backports + faraday (~> 0.8) + multi_json (~> 1.0) + net-http-persistent (>= 2.7) + net-http-pipeline + highline (1.7.8) + json (1.8.3) + launchy (2.4.3) + addressable (~> 2.3) + multi_json (1.11.2) + multipart-post (2.0.0) + net-http-persistent (2.9.4) + net-http-pipeline (1.0.1) + pusher-client (0.6.2) + json + websocket (~> 1.0) + travis (1.8.2) + backports + faraday (~> 0.9) + faraday_middleware (~> 0.9, >= 0.9.1) + gh (~> 0.13) + highline (~> 1.6) + launchy (~> 2.1) + pusher-client (~> 0.4) + typhoeus (~> 0.6, >= 0.6.8) + typhoeus (0.8.0) + ethon (>= 0.8.0) + websocket (1.2.2) + +PLATFORMS + ruby + +DEPENDENCIES + travis + +BUNDLED WITH + 1.11.2 diff --git a/pkgs/development/tools/misc/travis/default.nix b/pkgs/development/tools/misc/travis/default.nix new file mode 100644 index 000000000000..adc63ce7c43f --- /dev/null +++ b/pkgs/development/tools/misc/travis/default.nix @@ -0,0 +1,29 @@ +{ stdenv, lib, bundlerEnv, ruby }: + +stdenv.mkDerivation rec { + name = "travis-${version}"; + version = env.gems.travis.version; + + env = bundlerEnv { + inherit ruby; + name = "${name}-gems"; + gemset = ./gemset.nix; + gemfile = ./Gemfile; + lockfile = ./Gemfile.lock; + }; + + phases = ["installPhase"]; + + installPhase = '' + mkdir -p $out/bin + ln -s ${env}/bin/travis $out/bin/travis + ''; + + meta = with lib; { + description = "CLI and Ruby client library for Travis CI"; + homepage = https://github.com/travis-ci/travis.rb; + license = licenses.mit; + maintainers = with maintainers; [ zimbatm ]; + platforms = ruby.meta.platforms; + }; +} diff --git a/pkgs/development/tools/misc/travis/gemset.nix b/pkgs/development/tools/misc/travis/gemset.nix new file mode 100644 index 000000000000..abfd352e90ec --- /dev/null +++ b/pkgs/development/tools/misc/travis/gemset.nix @@ -0,0 +1,146 @@ +{ + addressable = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0mpn7sbjl477h56gmxsjqb89r5s3w7vx5af994ssgc3iamvgzgvs"; + type = "gem"; + }; + version = "2.4.0"; + }; + backports = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1zcgqw7m7jb8n7b2jwla5cq0nw9wsgddxfmn0a9v89ihzd4i1a5k"; + type = "gem"; + }; + version = "3.6.8"; + }; + ethon = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0afvvv4sxs330jhk4xz9kj6qgj70yvd4zsjnb9yvxhmaq49k8yij"; + type = "gem"; + }; + version = "0.8.1"; + }; + faraday = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1kplqkpn2s2yl3lxdf6h7sfldqvkbkpxwwxhyk7mdhjplb5faqh6"; + type = "gem"; + }; + version = "0.9.2"; + }; + faraday_middleware = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0nxia26xzy8i56qfyz1bg8dg9yb26swpgci8n5jry8mh4bnx5r5h"; + type = "gem"; + }; + version = "0.10.0"; + }; + ffi = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1m5mprppw0xcrv2mkim5zsk70v089ajzqiq5hpyb0xg96fcyzyxj"; + type = "gem"; + }; + version = "1.9.10"; + }; + gh = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0j7m6jmxzkxvnqgnhmci33a89qpaxxcrm55kk5vz4bcpply04hx2"; + type = "gem"; + }; + version = "0.14.0"; + }; + highline = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1nf5lgdn6ni2lpfdn4gk3gi47fmnca2bdirabbjbz1fk9w4p8lkr"; + type = "gem"; + }; + version = "1.7.8"; + }; + json = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1nsby6ry8l9xg3yw4adlhk2pnc7i0h0rznvcss4vk3v74qg0k8lc"; + type = "gem"; + }; + version = "1.8.3"; + }; + launchy = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "190lfbiy1vwxhbgn4nl4dcbzxvm049jwc158r2x7kq3g5khjrxa2"; + type = "gem"; + }; + version = "2.4.3"; + }; + multi_json = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1rf3l4j3i11lybqzgq2jhszq7fh7gpmafjzd14ymp9cjfxqg596r"; + type = "gem"; + }; + version = "1.11.2"; + }; + multipart-post = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "09k0b3cybqilk1gwrwwain95rdypixb2q9w65gd44gfzsd84xi1x"; + type = "gem"; + }; + version = "2.0.0"; + }; + net-http-persistent = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1y9fhaax0d9kkslyiqi1zys6cvpaqx9a0y0cywp24rpygwh4s9r4"; + type = "gem"; + }; + version = "2.9.4"; + }; + net-http-pipeline = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0bxjy33yhxwsbnld8xj3zv64ibgfjn9rjpiqkyd5ipmz50pww8v9"; + type = "gem"; + }; + version = "1.0.1"; + }; + pusher-client = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "18ymxz34gmg7jff3h0nyzp5vdg5i06dbdxlrdl2nq4hf14qwj1f4"; + type = "gem"; + }; + version = "0.6.2"; + }; + travis = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0ph83whzw5hjkp1kgbkjd2g0vi6kdr9sif6vxvxgjf186id43q0s"; + type = "gem"; + }; + version = "1.8.2"; + }; + typhoeus = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "03x3fxjsnhgayl4s96h0a9975awlvx2v9nmx2ba0cnliglyczdr8"; + type = "gem"; + }; + version = "0.8.0"; + }; + websocket = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1frcsgj4f984db920xwapflqwgrwncw86c1rv94pp5gs2q1iaap4"; + type = "gem"; + }; + version = "1.2.2"; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ae800662444a..777914af4986 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6248,6 +6248,8 @@ in texi2html = callPackage ../development/tools/misc/texi2html { }; + travis = callPackage ../development/tools/misc/travis { }; + tweak = callPackage ../applications/editors/tweak { }; uhd = callPackage ../development/tools/misc/uhd { };