summary refs log tree commit diff
path: root/pkgs/applications/networking/esniper/default.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-02-24 11:25:16 +0000
committerPeter Simons <simons@cryp.to>2011-02-24 11:25:16 +0000
commitf073bf2a3e3fec1904c08438de48b8c1dc031c15 (patch)
tree5c929b132ea0278192e39732154fc4634509bcb7 /pkgs/applications/networking/esniper/default.nix
parentca1aa628b92024ca0682a99a4f817c81a019d160 (diff)
downloadnixlib-f073bf2a3e3fec1904c08438de48b8c1dc031c15.tar
nixlib-f073bf2a3e3fec1904c08438de48b8c1dc031c15.tar.gz
nixlib-f073bf2a3e3fec1904c08438de48b8c1dc031c15.tar.bz2
nixlib-f073bf2a3e3fec1904c08438de48b8c1dc031c15.tar.lz
nixlib-f073bf2a3e3fec1904c08438de48b8c1dc031c15.tar.xz
nixlib-f073bf2a3e3fec1904c08438de48b8c1dc031c15.tar.zst
nixlib-f073bf2a3e3fec1904c08438de48b8c1dc031c15.zip
esniper 2.24.0 is a simple, lightweight tool for sniping eBay auctions.
svn path=/nixpkgs/trunk/; revision=26086
Diffstat (limited to 'pkgs/applications/networking/esniper/default.nix')
-rw-r--r--pkgs/applications/networking/esniper/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/esniper/default.nix b/pkgs/applications/networking/esniper/default.nix
new file mode 100644
index 000000000000..601167c0d4a0
--- /dev/null
+++ b/pkgs/applications/networking/esniper/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchurl, openssl, curl }:
+
+let
+    name    = "esniper";
+in
+stdenv.mkDerivation {
+  name = "${name}-2.24.0";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/${name}/${name}-2-24-0.tgz";
+    sha256 = "0h3nlw64x2dczfd4nmz890pk9372iwfzwyyb8zyhiaymb34z5c52";
+  };
+
+  buildInputs = [openssl curl];
+
+  postInstall = ''
+    sed -e  "2i export PATH=\"$out/bin:\$PATH\"" <"frontends/snipe" >"$out/bin/snipe"
+    chmod 555 "$out/bin/snipe"
+  '';
+
+  meta = {
+    description = "Simple, lightweight tool for sniping eBay auctions";
+    homepage = "http://esnipe.rsourceforge.net";
+    license = "GPLv2";
+
+    platforms = stdenv.lib.platforms.alld;
+    maintainers = [ stdenv.lib.maintainers.simons ];
+  };
+}
+
+