Skip to content

Commit

Permalink
taskjuggler: add 3.5.0, keep 2.4.3
Browse files Browse the repository at this point in the history
Version 3.5.0 was present but was removed in 8085f08.  Keeping the old version
per discussion at NixOS#845.
  • Loading branch information
khumba authored and bjornfor committed Sep 8, 2016
1 parent f283e8e commit df6827a
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pkgs/applications/misc/taskjuggler/3.x/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'http://rubygems.org'
gem 'taskjuggler'
21 changes: 21 additions & 0 deletions pkgs/applications/misc/taskjuggler/3.x/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
GEM
remote: http://rubygems.org/
specs:
mail (2.6.3)
mime-types (>= 1.16, < 3)
mime-types (2.6.1)
taskjuggler (3.5.0)
mail (>= 2.4.3)
term-ansicolor (>= 1.0.7)
term-ansicolor (1.3.2)
tins (~> 1.0)
tins (1.6.0)

PLATFORMS
ruby

DEPENDENCIES
taskjuggler

BUNDLED WITH
1.10.5
17 changes: 17 additions & 0 deletions pkgs/applications/misc/taskjuggler/3.x/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{ lib, bundlerEnv, ruby }:

bundlerEnv {
name = "taskjuggler-3.5.0";

inherit ruby;
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;

meta = {
description = "A modern and powerful project management tool";
homepage = http://taskjuggler.org/;
license = lib.licenses.gpl2;
platforms = lib.platforms.unix;
};
}
47 changes: 47 additions & 0 deletions pkgs/applications/misc/taskjuggler/3.x/gemset.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"mail" = {
version = "2.6.3";
source = {
type = "gem";
sha256 = "1nbg60h3cpnys45h7zydxwrl200p7ksvmrbxnwwbpaaf9vnf3znp";
};
dependencies = [
"mime-types"
];
};
"mime-types" = {
version = "2.6.1";
source = {
type = "gem";
sha256 = "1vnrvf245ijfyxzjbj9dr6i1hkjbyrh4yj88865wv9bs75axc5jv";
};
};
"taskjuggler" = {
version = "3.5.0";
source = {
type = "gem";
sha256 = "0r84rlc7a6w7p9nc9mgycbs5h0hq0kzscjq7zj3296xyf0afiwj2";
};
dependencies = [
"mail"
"term-ansicolor"
];
};
"term-ansicolor" = {
version = "1.3.2";
source = {
type = "gem";
sha256 = "0ydbbyjmk5p7fsi55ffnkq79jnfqx65c3nj8d9rpgl6sw85ahyys";
};
dependencies = [
"tins"
];
};
"tins" = {
version = "1.6.0";
source = {
type = "gem";
sha256 = "02qarvy17nbwvslfgqam8y6y7479cwmb1a6di9z18hzka4cf90hz";
};
};
}
6 changes: 5 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14957,7 +14957,11 @@ in
teamspeak_client = qt55.callPackage ../applications/networking/instant-messengers/teamspeak/client.nix { };
teamspeak_server = callPackage ../applications/networking/instant-messengers/teamspeak/server.nix { };

taskjuggler = callPackage ../applications/misc/taskjuggler { };
taskjuggler-2 = callPackage ../applications/misc/taskjuggler/2.x { };

taskjuggler = callPackage ../applications/misc/taskjuggler/3.x {
ruby = ruby_2_0;
};

tasknc = callPackage ../applications/misc/tasknc { };

Expand Down

0 comments on commit df6827a

Please sign in to comment.