diff --git a/pkgs/applications/misc/pt/.bundle/config b/pkgs/applications/misc/pt/.bundle/config new file mode 100644 index 000000000000..88cb2d529351 --- /dev/null +++ b/pkgs/applications/misc/pt/.bundle/config @@ -0,0 +1,2 @@ +--- +BUNDLE_NO_INSTALL: true diff --git a/pkgs/applications/misc/pt/Gemfile b/pkgs/applications/misc/pt/Gemfile new file mode 100644 index 000000000000..ed2136ea5b85 --- /dev/null +++ b/pkgs/applications/misc/pt/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem 'pt' diff --git a/pkgs/applications/misc/pt/Gemfile.lock b/pkgs/applications/misc/pt/Gemfile.lock new file mode 100644 index 000000000000..db023c59d7fd --- /dev/null +++ b/pkgs/applications/misc/pt/Gemfile.lock @@ -0,0 +1,45 @@ +GEM + remote: https://rubygems.org/ + specs: + builder (3.2.2) + colored (1.2) + crack (0.4.3) + safe_yaml (~> 1.0.0) + domain_name (0.5.25) + unf (>= 0.0.5, < 1.0.0) + highline (1.7.8) + hirb (0.7.3) + http-cookie (1.0.2) + domain_name (~> 0.5) + mime-types (2.99) + mini_portile2 (2.0.0) + netrc (0.11.0) + nokogiri (1.6.7.1) + mini_portile2 (~> 2.0.0.rc2) + nokogiri-happymapper (0.5.9) + nokogiri (~> 1.5) + pivotal-tracker (0.5.13) + builder + crack + nokogiri (>= 1.5.5) + nokogiri-happymapper (>= 0.5.4) + rest-client (>= 1.8.0) + pt (0.7.3) + colored (>= 1.2) + highline (>= 1.6.1) + hirb (>= 0.4.5) + pivotal-tracker (>= 0.4.1) + rest-client (1.8.0) + http-cookie (>= 1.0.2, < 2.0) + mime-types (>= 1.16, < 3.0) + netrc (~> 0.7) + safe_yaml (1.0.4) + unf (0.1.4) + unf_ext + unf_ext (0.0.7.1) + +PLATFORMS + ruby + +DEPENDENCIES + pt diff --git a/pkgs/applications/misc/pt/default.nix b/pkgs/applications/misc/pt/default.nix new file mode 100644 index 000000000000..d85a3266bdf8 --- /dev/null +++ b/pkgs/applications/misc/pt/default.nix @@ -0,0 +1,18 @@ +{ stdenv, lib, bundlerEnv, ruby }: + +bundlerEnv { + name = "pt-0.7.3"; + + inherit ruby; + gemfile = ./Gemfile; + lockfile = ./Gemfile.lock; + gemset = ./gemset.nix; + + meta = with lib; { + description = "Minimalist command-line Pivotal Tracker client"; + homepage = http://www.github.com/raul/pt; + license = licenses.mit; + maintainers = with maintainers; [ ebzzry ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/applications/misc/pt/gemset.nix b/pkgs/applications/misc/pt/gemset.nix new file mode 100644 index 000000000000..cde3c386fb5c --- /dev/null +++ b/pkgs/applications/misc/pt/gemset.nix @@ -0,0 +1,164 @@ +{ + "builder" = { + version = "3.2.2"; + source = { + type = "gem"; + sha256 = "14fii7ab8qszrvsvhz6z2z3i4dw0h41a62fjr2h1j8m41vbrmyv2"; + }; + }; + "colored" = { + version = "1.2"; + source = { + type = "gem"; + sha256 = "0b0x5jmsyi0z69bm6sij1k89z7h0laag3cb4mdn7zkl9qmxb90lx"; + }; + }; + "crack" = { + version = "0.4.3"; + source = { + type = "gem"; + sha256 = "0abb0fvgw00akyik1zxnq7yv391va148151qxdghnzngv66bl62k"; + }; + dependencies = [ + "safe_yaml" + ]; + }; + "domain_name" = { + version = "0.5.25"; + source = { + type = "gem"; + sha256 = "16qvfrmcwlzz073aas55mpw2nhyhjcn96s524w0g1wlml242hjav"; + }; + dependencies = [ + "unf" + ]; + }; + "highline" = { + version = "1.7.8"; + source = { + type = "gem"; + sha256 = "1nf5lgdn6ni2lpfdn4gk3gi47fmnca2bdirabbjbz1fk9w4p8lkr"; + }; + }; + "hirb" = { + version = "0.7.3"; + source = { + type = "gem"; + sha256 = "0mzch3c2lvmf8gskgzlx6j53d10j42ir6ik2dkrl27sblhy76cji"; + }; + }; + "http-cookie" = { + version = "1.0.2"; + source = { + type = "gem"; + sha256 = "0cz2fdkngs3jc5w32a6xcl511hy03a7zdiy988jk1sf3bf5v3hdw"; + }; + dependencies = [ + "domain_name" + ]; + }; + "mime-types" = { + version = "2.99"; + source = { + type = "gem"; + sha256 = "1hravghdnk9qbibxb3ggzv7mysl97djh8n0rsswy3ssjaw7cbvf2"; + }; + }; + "mini_portile2" = { + version = "2.0.0"; + source = { + type = "gem"; + sha256 = "056drbn5m4khdxly1asmiik14nyllswr6sh3wallvsywwdiryz8l"; + }; + }; + "netrc" = { + version = "0.11.0"; + source = { + type = "gem"; + sha256 = "0gzfmcywp1da8nzfqsql2zqi648mfnx6qwkig3cv36n9m0yy676y"; + }; + }; + "nokogiri" = { + version = "1.6.7.1"; + source = { + type = "gem"; + sha256 = "12nwv3lad5k2k73aa1d1xy4x577c143ixks6rs70yp78sinbglk2"; + }; + dependencies = [ + "mini_portile2" + ]; + }; + "nokogiri-happymapper" = { + version = "0.5.9"; + source = { + type = "gem"; + sha256 = "0xv5crnzxdbd0ykx1ikfg1h0yw0h70lk607x1g45acsb1da97mkq"; + }; + dependencies = [ + "nokogiri" + ]; + }; + "pivotal-tracker" = { + version = "0.5.13"; + source = { + type = "gem"; + sha256 = "0vxs69qb0k4g62250zbf5x78wpkhpj98clg2j09ncy3s8yklr0pd"; + }; + dependencies = [ + "builder" + "crack" + "nokogiri" + "nokogiri-happymapper" + "rest-client" + ]; + }; + "pt" = { + version = "0.7.3"; + source = { + type = "gem"; + sha256 = "0bf821yf0zq5bhs65wmx339bm771lcnd6dlsljj3dnisjj068dk8"; + }; + dependencies = [ + "colored" + "highline" + "hirb" + "pivotal-tracker" + ]; + }; + "rest-client" = { + version = "1.8.0"; + source = { + type = "gem"; + sha256 = "1m8z0c4yf6w47iqz6j2p7x1ip4qnnzvhdph9d5fgx081cvjly3p7"; + }; + dependencies = [ + "http-cookie" + "mime-types" + "netrc" + ]; + }; + "safe_yaml" = { + version = "1.0.4"; + source = { + type = "gem"; + sha256 = "1hly915584hyi9q9vgd968x2nsi5yag9jyf5kq60lwzi5scr7094"; + }; + }; + "unf" = { + version = "0.1.4"; + source = { + type = "gem"; + sha256 = "0bh2cf73i2ffh4fcpdn9ir4mhq8zi50ik0zqa1braahzadx536a9"; + }; + dependencies = [ + "unf_ext" + ]; + }; + "unf_ext" = { + version = "0.0.7.1"; + source = { + type = "gem"; + sha256 = "0ly2ms6c3irmbr1575ldyh52bz2v0lzzr2gagf0p526k12ld2n5b"; + }; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fd72495703e0..751ad0a8a6a7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15534,6 +15534,8 @@ let PPSSPP = callPackage ../misc/emulators/ppsspp { SDL = SDL2; }; + pt = callPackage ../applications/misc/pt { }; + uae = callPackage ../misc/emulators/uae { }; fsuae = callPackage ../misc/emulators/fs-uae { };