From 198dd9df8252205802e5e9abfcf17d92550491a9 Mon Sep 17 00:00:00 2001 From: Matt McHenry Date: Sun, 29 May 2016 23:02:41 -0400 Subject: [PATCH] timetrap: init at 1.10.0 --- pkgs/applications/office/timetrap/Gemfile | 2 ++ .../applications/office/timetrap/Gemfile.lock | 19 +++++++++++ pkgs/applications/office/timetrap/default.nix | 16 +++++++++ pkgs/applications/office/timetrap/gemset.nix | 34 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 5 files changed, 73 insertions(+) create mode 100644 pkgs/applications/office/timetrap/Gemfile create mode 100644 pkgs/applications/office/timetrap/Gemfile.lock create mode 100644 pkgs/applications/office/timetrap/default.nix create mode 100644 pkgs/applications/office/timetrap/gemset.nix diff --git a/pkgs/applications/office/timetrap/Gemfile b/pkgs/applications/office/timetrap/Gemfile new file mode 100644 index 000000000000..3ce845d11c10 --- /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 000000000000..5f451ca02b13 --- /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 000000000000..71d0f923dbdc --- /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 000000000000..cbf90f8018ce --- /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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d278b5d24194..93f0bbbfc17c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3410,6 +3410,8 @@ in timemachine = callPackage ../applications/audio/timemachine { }; + timetrap = callPackage ../applications/office/timetrap { }; + tinc = callPackage ../tools/networking/tinc { }; tinc_pre = callPackage ../tools/networking/tinc/pre.nix { };