Author: simons
Date: Thu Jul 21 17:01:31 2011
New Revision: 27881
URL: https://svn.nixos.org/websvn/nix/?rev=27881&sc=1
Log:
all-packages.nix: added jbidwatcher, a tool to monitor and snipe ebay auctions
Added:
nixpkgs/trunk/pkgs/applications/misc/jbidwatcher/
nixpkgs/trunk/pkgs/applications/misc/jbidwatcher/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/applications/misc/jbidwatcher/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/misc/jbidwatcher/default.nix Thu Jul
21 17:01:31 2011 (r27881)
@@ -0,0 +1,50 @@
+{ stdenv, fetchurl, jre }:
+
+stdenv.mkDerivation rec {
+ pname = "jbidwatcher";
+ version = "2.1.5";
+
+ name = "${pname}-${version}";
+
+ src = fetchurl {
+ url = "http://www.jbidwatcher.com/download/JBidwatcher-${version}.jar";
+ sha256 = "0nrs9ly56cqn33dm1sjm53pzj1cf7jncwn4c8v0xyva4jqyz2y5p";
+ };
+
+ buildInputs = [ jre ];
+
+ jarfile = "$out/share/java/${pname}/JBidwatcher.jar";
+
+ unpackPhase = "true";
+
+ buildPhase = "true";
+
+ installPhase = ''
+ ensureDir "$out/bin"
+ echo > "$out/bin/${pname}" "#!/bin/sh"
+ echo >>"$out/bin/${pname}" "${jre}/bin/java -Xmx512m -jar ${jarfile}"
+ chmod +x "$out/bin/${pname}"
+ install -D -m644 ${src} ${jarfile}
+ '';
+
+ meta = {
+ homepage = "http://www.jbidwatcher.com/";
+ description = "monitor and snipe Ebay auctions";
+ license = "LGPL";
+
+ longDescription = ''
+ A Java-based application allowing you to monitor auctions you're
+ not part of, submit bids, snipe (bid at the last moment), and
+ otherwise track your auction-site experience. It includes
+ adult-auction management, MANY currencies (pound, dollar (US,
+ Canada, Australian, and New Taiwanese) and euro, presently),
+ drag-and-drop of auction URLs, an original, unique and powerful
+ 'multisniping' feature, a relatively nice UI, and is known to work
+ cleanly under Linux, Windows, Solaris, and MacOSX from the same
+ binary.
+ '';
+
+ platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
+ maintainers = [ stdenv.lib.maintainers.simons ];
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Thu Jul 21 14:58:13
2011 (r27880)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Thu Jul 21 17:01:31
2011 (r27881)
@@ -6415,6 +6415,8 @@
inherit (gnome) libglade;
};
+ jbidwatcher = callPackage ../applications/misc/jbidwatcher { };
+
qrdecode = builderDefsPackage (import ../tools/graphics/qrdecode) {
inherit libpng opencv;
};
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits