about summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorMichael Fellinger <michael.fellinger@xing.com>2019-04-30 17:36:25 +0200
committerMichael Fellinger <michael.fellinger@xing.com>2019-04-30 18:01:54 +0200
commit020dec07d4cd3dacc925183f76eb520a798ed0d1 (patch)
tree9db48120b421d1c8b078095312dd09fbc148a25d /pkgs/tools/system
parentc9fd6099b49854e5c74f920a6d8c8b3abf90a22d (diff)
downloadnixlib-020dec07d4cd3dacc925183f76eb520a798ed0d1.tar
nixlib-020dec07d4cd3dacc925183f76eb520a798ed0d1.tar.gz
nixlib-020dec07d4cd3dacc925183f76eb520a798ed0d1.tar.bz2
nixlib-020dec07d4cd3dacc925183f76eb520a798ed0d1.tar.lz
nixlib-020dec07d4cd3dacc925183f76eb520a798ed0d1.tar.xz
nixlib-020dec07d4cd3dacc925183f76eb520a798ed0d1.tar.zst
nixlib-020dec07d4cd3dacc925183f76eb520a798ed0d1.zip
procodile: 1.0.17 -> 1.0.23, use bundlerApp
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/procodile/Gemfile.lock6
-rw-r--r--pkgs/tools/system/procodile/default.nix17
-rw-r--r--pkgs/tools/system/procodile/gemset.nix12
3 files changed, 16 insertions, 19 deletions
diff --git a/pkgs/tools/system/procodile/Gemfile.lock b/pkgs/tools/system/procodile/Gemfile.lock
index 51ab44a762ab..7989b7bf1f7f 100644
--- a/pkgs/tools/system/procodile/Gemfile.lock
+++ b/pkgs/tools/system/procodile/Gemfile.lock
@@ -1,8 +1,8 @@
 GEM
   remote: https://rubygems.org/
   specs:
-    json (2.1.0)
-    procodile (1.0.17)
+    json (2.2.0)
+    procodile (1.0.23)
       json
 
 PLATFORMS
@@ -12,4 +12,4 @@ DEPENDENCIES
   procodile
 
 BUNDLED WITH
-   1.14.6
+   1.17.2
diff --git a/pkgs/tools/system/procodile/default.nix b/pkgs/tools/system/procodile/default.nix
index 5414d6704232..22dc59a9e8e6 100644
--- a/pkgs/tools/system/procodile/default.nix
+++ b/pkgs/tools/system/procodile/default.nix
@@ -1,22 +1,15 @@
-{ lib, bundlerEnv, ruby }:
-
-bundlerEnv rec {
-  name = "procodile-${version}";
-
-  gemfile = ./Gemfile;
-  lockfile = ./Gemfile.lock;
-  gemset = ./gemset.nix;
-
-  version = (import gemset).procodile.version;
-  inherit ruby;
+{ lib, bundlerApp }:
 
+bundlerApp {
+  pname = "procodile";
   gemdir = ./.;
+  exes = [ "procodile" ];
 
   meta = with lib; {
     description = "Run processes in the background (and foreground) on Mac & Linux from a Procfile (for production and/or development environments)";
     homepage    = https://adam.ac/procodile;
     license     = with licenses; mit;
-    maintainers = [ maintainers.ravloony ];
+    maintainers = with maintainers; [ ravloony manveru ];
     platforms   = platforms.unix;
   };
 }
diff --git a/pkgs/tools/system/procodile/gemset.nix b/pkgs/tools/system/procodile/gemset.nix
index 8216159ad940..36ec2a9cf185 100644
--- a/pkgs/tools/system/procodile/gemset.nix
+++ b/pkgs/tools/system/procodile/gemset.nix
@@ -1,19 +1,23 @@
 {
   json = {
+    groups = ["default"];
+    platforms = [];
     source = {
       remotes = ["https://rubygems.org"];
-      sha256 = "01v6jjpvh3gnq6sgllpfqahlgxzj50ailwhj9b3cd20hi2dx0vxp";
+      sha256 = "0sx97bm9by389rbzv8r1f43h06xcz8vwi3h5jv074gvparql7lcx";
       type = "gem";
     };
-    version = "2.1.0";
+    version = "2.2.0";
   };
   procodile = {
     dependencies = ["json"];
+    groups = ["default"];
+    platforms = [];
     source = {
       remotes = ["https://rubygems.org"];
-      sha256 = "1gfms2h4k9zqq7jn04nphibcsjykgxiqwdyyz2r4kq428a25kqsf";
+      sha256 = "025pbr1kah7cgs527n5q56m5agaa2smzac4rpmpk619xg4r1rdhs";
       type = "gem";
     };
-    version = "1.0.17";
+    version = "1.0.23";
   };
 }
\ No newline at end of file