summary refs log tree commit diff
path: root/pkgs/tools/system/procodile
diff options
context:
space:
mode:
authorTom Macdonald <tmacdonald@yelsterdigital.com>2017-11-07 16:45:41 +0100
committerTom Macdonald <tmacdonald@yelsterdigital.com>2017-11-07 17:04:50 +0100
commit7b8e40c6b1980df5b5d976e7f1b6e483cb23284a (patch)
tree59a0b5c237aab3902f8c7db25592b145c61d1c7c /pkgs/tools/system/procodile
parent0f8c85d5d0f6c10f41f369641ced5ed707580fa9 (diff)
downloadnixlib-7b8e40c6b1980df5b5d976e7f1b6e483cb23284a.tar
nixlib-7b8e40c6b1980df5b5d976e7f1b6e483cb23284a.tar.gz
nixlib-7b8e40c6b1980df5b5d976e7f1b6e483cb23284a.tar.bz2
nixlib-7b8e40c6b1980df5b5d976e7f1b6e483cb23284a.tar.lz
nixlib-7b8e40c6b1980df5b5d976e7f1b6e483cb23284a.tar.xz
nixlib-7b8e40c6b1980df5b5d976e7f1b6e483cb23284a.tar.zst
nixlib-7b8e40c6b1980df5b5d976e7f1b6e483cb23284a.zip
procodile: init at 1.0.17
Diffstat (limited to 'pkgs/tools/system/procodile')
-rw-r--r--pkgs/tools/system/procodile/Gemfile2
-rw-r--r--pkgs/tools/system/procodile/Gemfile.lock15
-rw-r--r--pkgs/tools/system/procodile/default.nix22
-rw-r--r--pkgs/tools/system/procodile/gemset.nix19
4 files changed, 58 insertions, 0 deletions
diff --git a/pkgs/tools/system/procodile/Gemfile b/pkgs/tools/system/procodile/Gemfile
new file mode 100644
index 000000000000..77e4bb430e96
--- /dev/null
+++ b/pkgs/tools/system/procodile/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem 'procodile'
diff --git a/pkgs/tools/system/procodile/Gemfile.lock b/pkgs/tools/system/procodile/Gemfile.lock
new file mode 100644
index 000000000000..51ab44a762ab
--- /dev/null
+++ b/pkgs/tools/system/procodile/Gemfile.lock
@@ -0,0 +1,15 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    json (2.1.0)
+    procodile (1.0.17)
+      json
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  procodile
+
+BUNDLED WITH
+   1.14.6
diff --git a/pkgs/tools/system/procodile/default.nix b/pkgs/tools/system/procodile/default.nix
new file mode 100644
index 000000000000..3a5cb1b4965d
--- /dev/null
+++ b/pkgs/tools/system/procodile/default.nix
@@ -0,0 +1,22 @@
+{ lib, bundlerEnv, ruby, stdenv }:
+
+bundlerEnv rec {
+  name = "procodile-${version}";
+
+  gemfile = ./Gemfile;
+  lockfile = ./Gemfile.lock;
+  gemset = ./gemset.nix;
+
+  version = (import gemset).procodile.version;
+  inherit ruby;
+
+  gemdir = ./.;
+
+  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 ];
+    platforms   = platforms.unix;
+  };
+}
diff --git a/pkgs/tools/system/procodile/gemset.nix b/pkgs/tools/system/procodile/gemset.nix
new file mode 100644
index 000000000000..8216159ad940
--- /dev/null
+++ b/pkgs/tools/system/procodile/gemset.nix
@@ -0,0 +1,19 @@
+{
+  json = {
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "01v6jjpvh3gnq6sgllpfqahlgxzj50ailwhj9b3cd20hi2dx0vxp";
+      type = "gem";
+    };
+    version = "2.1.0";
+  };
+  procodile = {
+    dependencies = ["json"];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "1gfms2h4k9zqq7jn04nphibcsjykgxiqwdyyz2r4kq428a25kqsf";
+      type = "gem";
+    };
+    version = "1.0.17";
+  };
+}
\ No newline at end of file