summary refs log tree commit diff
path: root/pkgs/applications/office/timetrap
diff options
context:
space:
mode:
authorMatt McHenry <github@matt.mchenryfamily.org>2016-05-29 23:02:41 -0400
committerMatt McHenry <github@matt.mchenryfamily.org>2016-05-29 23:07:48 -0400
commit198dd9df8252205802e5e9abfcf17d92550491a9 (patch)
tree9a337b132e595ab2fae6ecb107e6ed4d43dc6b72 /pkgs/applications/office/timetrap
parent7465bcd67a2177c63adeec66398b1b581260b31e (diff)
downloadnixpkgs-198dd9df8252205802e5e9abfcf17d92550491a9.tar
nixpkgs-198dd9df8252205802e5e9abfcf17d92550491a9.tar.gz
nixpkgs-198dd9df8252205802e5e9abfcf17d92550491a9.tar.bz2
nixpkgs-198dd9df8252205802e5e9abfcf17d92550491a9.tar.lz
nixpkgs-198dd9df8252205802e5e9abfcf17d92550491a9.tar.xz
nixpkgs-198dd9df8252205802e5e9abfcf17d92550491a9.tar.zst
nixpkgs-198dd9df8252205802e5e9abfcf17d92550491a9.zip
timetrap: init at 1.10.0
Diffstat (limited to 'pkgs/applications/office/timetrap')
-rw-r--r--pkgs/applications/office/timetrap/Gemfile2
-rw-r--r--pkgs/applications/office/timetrap/Gemfile.lock19
-rw-r--r--pkgs/applications/office/timetrap/default.nix16
-rw-r--r--pkgs/applications/office/timetrap/gemset.nix34
4 files changed, 71 insertions, 0 deletions
diff --git a/pkgs/applications/office/timetrap/Gemfile b/pkgs/applications/office/timetrap/Gemfile
new file mode 100644
index 00000000000..3ce845d11c1
--- /dev/null
+++ b/pkgs/applications/office/timetrap/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem 'timetrap'
diff --git a/pkgs/applications/office/timetrap/Gemfile.lock b/pkgs/applications/office/timetrap/Gemfile.lock
new file mode 100644
index 00000000000..5f451ca02b1
--- /dev/null
+++ b/pkgs/applications/office/timetrap/Gemfile.lock
@@ -0,0 +1,19 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    chronic (0.10.2)
+    sequel (4.0.0)
+    sqlite3 (1.3.11)
+    timetrap (1.10.0)
+      chronic (~> 0.10.2)
+      sequel (~> 4.0.0)
+      sqlite3 (~> 1.3.3)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  timetrap
+
+BUNDLED WITH
+   1.10.6
diff --git a/pkgs/applications/office/timetrap/default.nix b/pkgs/applications/office/timetrap/default.nix
new file mode 100644
index 00000000000..71d0f923dbd
--- /dev/null
+++ b/pkgs/applications/office/timetrap/default.nix
@@ -0,0 +1,16 @@
+{ stdenv, lib, bundlerEnv, ruby }:
+
+bundlerEnv {
+  name = "timetrap-1.10.0";
+
+  inherit ruby;
+  gemfile = ./Gemfile;
+  lockfile = ./Gemfile.lock;
+  gemset = ./gemset.nix;
+
+  meta = {
+    description = "a simple command line time tracker written in ruby";
+    homepage = https://github.com/samg/timetrap;
+    license = lib.licenses.mit;
+  };
+}
diff --git a/pkgs/applications/office/timetrap/gemset.nix b/pkgs/applications/office/timetrap/gemset.nix
new file mode 100644
index 00000000000..cbf90f8018c
--- /dev/null
+++ b/pkgs/applications/office/timetrap/gemset.nix
@@ -0,0 +1,34 @@
+{
+  chronic = {
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "1hrdkn4g8x7dlzxwb1rfgr8kw3bp4ywg5l4y4i9c2g5cwv62yvvn";
+      type = "gem";
+    };
+    version = "0.10.2";
+  };
+  sequel = {
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "17kqm0vd15p9qxbgcysvmg6a046fd7zvxl3xzpsh00pg6v454svm";
+      type = "gem";
+    };
+    version = "4.0.0";
+  };
+  sqlite3 = {
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "19r06wglnm6479ffj9dl0fa4p5j2wi6dj7k6k3d0rbx7036cv3ny";
+      type = "gem";
+    };
+    version = "1.3.11";
+  };
+  timetrap = {
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "1rdaa27zvdgmbsbwa59g3dvfwb95nz7x1wycmviby94j5lywyzfc";
+      type = "gem";
+    };
+    version = "1.10.0";
+  };
+}
\ No newline at end of file