2011-02-24 12:25:16 +01:00
|
|
|
{ stdenv, fetchurl, openssl, curl }:
|
|
|
|
|
|
|
|
let
|
2011-06-05 20:38:33 +02:00
|
|
|
name = "esniper";
|
2011-02-24 12:25:16 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2011-06-05 20:38:33 +02:00
|
|
|
name = "${name}-2.25.0";
|
2011-02-24 12:25:16 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-06-05 20:38:33 +02:00
|
|
|
url = "mirror://sourceforge/${name}/${name}-2-25-0.tgz";
|
|
|
|
sha256 = "64658eaca2fa27eaec0436a016648b12f6c49d7486cc3a6827f307aa93871def";
|
2011-02-24 12:25:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
|
2011-02-24 17:24:54 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2011-02-24 12:25:16 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|