907bb1aac6
* libdbi / libdbi-drivers: updated to 0.8.3, and make it compile with SQLite. * qemu-image: fix the URL. * gdmap: make it build again (requires an older GTK+). * rlwrap: updated to 0.37. * smbfs-fuse -> fusesmb to match the upstream name. * x11vnc: updated to 0.9.10. * clearlyU: fix the URL. * Various packages: follow the coding conventions. svn path=/nixpkgs/trunk/; revision=22814
31 lines
917 B
Nix
31 lines
917 B
Nix
{ builderDefs, scons, pkgconfig, gtk, bzip2, libglade, openssl, libX11 }:
|
|
|
|
with builderDefs;
|
|
let localDefs = builderDefs.passthru.function ((rec {
|
|
src = /* put a fetchurl here */
|
|
fetchurl {
|
|
url = http://launchpad.net/linuxdcpp/1.0/1.0.3/+download/linuxdcpp-1.0.3.tar.bz2;
|
|
sha256 = "0w9c8k13cl85y4v4av8ic6w4zkdivcj6p5q86llfh3sz077vckiv";
|
|
};
|
|
|
|
buildInputs = [scons pkgconfig gtk bzip2 libglade
|
|
openssl libX11];
|
|
configureFlags = [];
|
|
doScons = fullDepEntry (''
|
|
ensureDir $out
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lX11";
|
|
scons PREFIX=$out
|
|
scons PREFIX=$out install
|
|
'') ["minInit" "doUnpack" "addInputs" "defEnsureDir"];
|
|
}));
|
|
in with localDefs;
|
|
stdenv.mkDerivation rec {
|
|
name = "ldcpp-1.0.3";
|
|
builder = writeScript (name + "-builder")
|
|
(textClosure localDefs
|
|
[doScons doForceShare doPropagate]);
|
|
meta = {
|
|
description = "Linux DC++ - Direct Connect client";
|
|
inherit src;
|
|
};
|
|
}
|