summary refs log tree commit diff
path: root/pkgs/applications/misc/jbidwatcher
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-07-21 17:01:31 +0000
committerPeter Simons <simons@cryp.to>2011-07-21 17:01:31 +0000
commit3815442cf4b0afeebd90eaa31b1dbfa0f4ca59fc (patch)
tree69954c3cc986c93753b44c59510a2a28d7c6c923 /pkgs/applications/misc/jbidwatcher
parentf5609042c046fd8b7118eb05ccafbe2e4025abeb (diff)
downloadnixpkgs-3815442cf4b0afeebd90eaa31b1dbfa0f4ca59fc.tar
nixpkgs-3815442cf4b0afeebd90eaa31b1dbfa0f4ca59fc.tar.gz
nixpkgs-3815442cf4b0afeebd90eaa31b1dbfa0f4ca59fc.tar.bz2
nixpkgs-3815442cf4b0afeebd90eaa31b1dbfa0f4ca59fc.tar.lz
nixpkgs-3815442cf4b0afeebd90eaa31b1dbfa0f4ca59fc.tar.xz
nixpkgs-3815442cf4b0afeebd90eaa31b1dbfa0f4ca59fc.tar.zst
nixpkgs-3815442cf4b0afeebd90eaa31b1dbfa0f4ca59fc.zip
all-packages.nix: added jbidwatcher, a tool to monitor and snipe ebay auctions
svn path=/nixpkgs/trunk/; revision=27881
Diffstat (limited to 'pkgs/applications/misc/jbidwatcher')
-rw-r--r--pkgs/applications/misc/jbidwatcher/default.nix50
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/applications/misc/jbidwatcher/default.nix b/pkgs/applications/misc/jbidwatcher/default.nix
new file mode 100644
index 00000000000..555c7e45d7b
--- /dev/null
+++ b/pkgs/applications/misc/jbidwatcher/default.nix
@@ -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 ];
+  };
+}