git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #21515 from chris-martin/ppl

ppl-address-book: init at 2.4.0

commit9d0a9bc9d61f6e94d720486ddbe972af8547382d authorDaiderd Jordan <daiderd@gmail.com> dateFri 30 Dec 2016, 23:42 (10 years ago) parent6fef7f1a6df66e
5 files changed+166
pkgs/applications/office/ppl-address-book/Gemfile+2 pkgs/applications/office/ppl-address-book/Gemfile.lock+34 pkgs/applications/office/ppl-address-book/default.nix+38 pkgs/applications/office/ppl-address-book/gemset.nix+90 pkgs/top-level/all-packages.nix+2
pkgs/applications/office/ppl-address-book/Gemfilenew file+2
@@ -0,0 +1,2 @@
1+source 'https://rubygems.org'
2+gem 'ppl'
pkgs/applications/office/ppl-address-book/Gemfile.locknew file+34
@@ -0,0 +1,34 @@
1+GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ colored (1.2)
5+ greencard (0.0.5)
6+ i18n (0.7.0)
7+ inifile (2.0.2)
8+ mail (2.5.3)
9+ i18n (>= 0.4.0)
10+ mime-types (~> 1.16)
11+ treetop (~> 1.4.8)
12+ mime-types (1.25.1)
13+ morphine (0.1.1)
14+ polyglot (0.3.5)
15+ ppl (2.4.0)
16+ colored (= 1.2)
17+ greencard (= 0.0.5)
18+ inifile (= 2.0.2)
19+ mail (= 2.5.3)
20+ morphine (= 0.1.1)
21+ rugged (= 0.17.0.b6)
22+ rugged (0.17.0.b6)
23+ treetop (1.4.15)
24+ polyglot
25+ polyglot (>= 0.3.1)
26+
27+PLATFORMS
28+ ruby
29+
30+DEPENDENCIES
31+ ppl
32+
33+BUNDLED WITH
34+ 1.12.5
pkgs/applications/office/ppl-address-book/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ stdenv, lib, bundlerEnv, ruby, makeWrapper, which }:
2+
3+let
4+ pname = "ppl-address-book";
5+
6+ version = (import ./gemset.nix).ppl.version;
7+
8+ env = bundlerEnv rec {
9+ name = "${pname}-env-${version}";
10+ inherit ruby;
11+ gemfile = ./Gemfile;
12+ lockfile = ./Gemfile.lock;
13+ gemset = ./gemset.nix;
14+
15+ gemConfig.rugged = attrs: { buildInputs = [ which ]; };
16+ };
17+
18+in stdenv.mkDerivation {
19+ name = "${pname}-${version}";
20+
21+ phases = [ "installPhase" ];
22+
23+ buildInputs = [ env makeWrapper ];
24+
25+ installPhase = ''
26+ mkdir -p $out/bin
27+ makeWrapper ${env}/bin/ppl $out/bin/ppl
28+ '';
29+
30+ meta = with lib; {
31+ description = "Address book software for command-line users";
32+ homepage = http://ppladdressbook.org/;
33+ license = with licenses; mit;
34+ maintainers = with maintainers; [ chris-martin ];
35+ platforms = platforms.unix;
36+ };
37+
38+}
pkgs/applications/office/ppl-address-book/gemset.nixnew file+90
@@ -0,0 +1,90 @@
1+{
2+ colored = {
3+ source = {
4+ remotes = ["https://rubygems.org"];
5+ sha256 = "0b0x5jmsyi0z69bm6sij1k89z7h0laag3cb4mdn7zkl9qmxb90lx";
6+ type = "gem";
7+ };
8+ version = "1.2";
9+ };
10+ greencard = {
11+ source = {
12+ remotes = ["https://rubygems.org"];
13+ sha256 = "11pxrl1w8c7m7rmnnmdaplrv53qgylyvkv8bzsfyjna7k16hynvq";
14+ type = "gem";
15+ };
16+ version = "0.0.5";
17+ };
18+ i18n = {
19+ source = {
20+ remotes = ["https://rubygems.org"];
21+ sha256 = "1i5z1ykl8zhszsxcs8mzl8d0dxgs3ylz8qlzrw74jb0gplkx6758";
22+ type = "gem";
23+ };
24+ version = "0.7.0";
25+ };
26+ inifile = {
27+ source = {
28+ remotes = ["https://rubygems.org"];
29+ sha256 = "03rpacxnrnisjhd2zhc7629ica958bkdbakicl5kipw1wbprck25";
30+ type = "gem";
31+ };
32+ version = "2.0.2";
33+ };
34+ mail = {
35+ source = {
36+ remotes = ["https://rubygems.org"];
37+ sha256 = "1afr3acz7vsvr4gp6wnrkw1iwbjhf14mh8g8mlm40r86wcwzr39k";
38+ type = "gem";
39+ };
40+ version = "2.5.3";
41+ };
42+ mime-types = {
43+ source = {
44+ remotes = ["https://rubygems.org"];
45+ sha256 = "0mhzsanmnzdshaba7gmsjwnv168r1yj8y0flzw88frw1cickrvw8";
46+ type = "gem";
47+ };
48+ version = "1.25.1";
49+ };
50+ morphine = {
51+ source = {
52+ remotes = ["https://rubygems.org"];
53+ sha256 = "05aw93cijd1gq39ikw2dw3i2c79bjq05kvxrs81mqxqdlini5wwa";
54+ type = "gem";
55+ };
56+ version = "0.1.1";
57+ };
58+ polyglot = {
59+ source = {
60+ remotes = ["https://rubygems.org"];
61+ sha256 = "1bqnxwyip623d8pr29rg6m8r0hdg08fpr2yb74f46rn1wgsnxmjr";
62+ type = "gem";
63+ };
64+ version = "0.3.5";
65+ };
66+ ppl = {
67+ source = {
68+ remotes = ["https://rubygems.org"];
69+ sha256 = "0vpp4s12ggbk5kpl9z1i7vi9vvghgxrc8my35yk8knckg5waxg47";
70+ type = "gem";
71+ };
72+ version = "2.4.0";
73+ };
74+ rugged = {
75+ source = {
76+ remotes = ["https://rubygems.org"];
77+ sha256 = "025rj3rkj5yxf4pjj1s8x4yzshlyni3hgrjwhggg54nvw6b688qi";
78+ type = "gem";
79+ };
80+ version = "0.17.0.b6";
81+ };
82+ treetop = {
83+ source = {
84+ remotes = ["https://rubygems.org"];
85+ sha256 = "1zqj5y0mvfvyz11nhsb4d5ch0i0rfcyj64qx19mw4qhg3hh8z9pz";
86+ type = "gem";
87+ };
88+ version = "1.4.15";
89+ };
90+}
pkgs/top-level/all-packages.nix+2
@@ -14446,6 +14446,8 @@ in
1444614446
1444714447 posterazor = callPackage ../applications/misc/posterazor { };
1444814448
14449+ ppl-address-book = callPackage ../applications/office/ppl-address-book { };
14450+
1444914451 pqiv = callPackage ../applications/graphics/pqiv { };
1445014452
1445114453 qiv = callPackage ../applications/graphics/qiv { };