diff options
author | Marc Weber <marco-oweber@gmx.de> | 2009-02-06 03:14:30 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2009-02-06 03:14:30 +0000 |
commit | c4c1aa0a8a84e3f101dd423ac31685d65f000c02 (patch) | |
tree | 42deb79b4abc6b0f453b321733d34465a1902b3a | |
parent | e3ef8055008ece0ad9f9d314d510beee5684cf30 (diff) | |
download | nixlib-c4c1aa0a8a84e3f101dd423ac31685d65f000c02.tar nixlib-c4c1aa0a8a84e3f101dd423ac31685d65f000c02.tar.gz nixlib-c4c1aa0a8a84e3f101dd423ac31685d65f000c02.tar.bz2 nixlib-c4c1aa0a8a84e3f101dd423ac31685d65f000c02.tar.lz nixlib-c4c1aa0a8a84e3f101dd423ac31685d65f000c02.tar.xz nixlib-c4c1aa0a8a84e3f101dd423ac31685d65f000c02.tar.zst nixlib-c4c1aa0a8a84e3f101dd423ac31685d65f000c02.zip |
added thinkingRock
svn path=/nixpkgs/trunk/; revision=13993
-rw-r--r-- | pkgs/applications/misc/thinking-rock/default.nix | 38 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/applications/misc/thinking-rock/default.nix b/pkgs/applications/misc/thinking-rock/default.nix new file mode 100644 index 000000000000..721f3f4e74fc --- /dev/null +++ b/pkgs/applications/misc/thinking-rock/default.nix @@ -0,0 +1,38 @@ +args: +args.stdenv.mkDerivation { + name = "thinkingrock-2.0.1-binary"; + + src = args.fetchurl { + url = mirror://sourceforge.net/thinkingrock/tr-2.0.1.tar.gz; + sha256 = "1fsanxh0li8yqsspagx1w1ykmvfnm6h44i6gd02v05abx8q25jk1"; + }; + + /* it would be a really bad idea to put thinkingrock tr executable in PATH! + the tr.sh script does use the coreutils tr itself + That's why I've renamed the wrapper and called it thinkingrock + However you may not rename the bin/tr script cause it will notice and throw an + "java.lang.IllegalArgumentException: Malformed branding token: thinkingrock" + exception. I hope that's fine + */ + + buildPhase = '' + # only keep /bin/tr + ls -1 bin/* | grep -ve 'bin/tr''$' | xargs rm + # don't keep the other .exe file either + find . -iname "*.exe" | xargs -n1 rm + ensureDir $out/{nix-support/tr-files,bin} + cp -r . $out/nix-support/tr-files + cat >> $out/bin/thinkingrock << EOF + #!/bin/sh + exec $out/nix-support/tr-files/bin/tr "$@" + EOF + chmod +x $out/bin/thinkingrock + ''; + installPhase = ":"; + + meta = { + description = "task managing system"; + homepage = http://www.thinkingrock.com.au/; + license = "CDDL"; # Common Development and Distribution License + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d5c22af7ceec..b4cdcb17e419 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8105,6 +8105,10 @@ let withKde = pkgs.getConfig ["taskJuggler" "kde"] false; }; + thinkingRock = import ../applications/misc/thinking-rock { + inherit fetchurl stdenv; + }; + thunderbird = import ../applications/networking/mailreaders/thunderbird-2.x { inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo; inherit (gtkLibs) gtk; |