nixpkgs-suyu/pkgs/applications/version-management/monotone/default.nix
Michael Raskin 6986ddc2cf Updated Monotone to 0.43
svn path=/nixpkgs/trunk/; revision=14704
2009-03-25 16:06:00 +00:00

17 lines
488 B
Nix

{stdenv, fetchurl, boost, zlib, botan, libidn,
lua, pcre, sqlite}:
let
version = "0.43";
in stdenv.mkDerivation {
name = "monotone-${version}";
src = fetchurl {
url = "http://monotone.ca/downloads/${version}/monotone-${version}.tar.gz";
sha256 = "1vfvvk4flv6n7x1nrizjpwpsfhf3dv3b60h7cs4ysgvzb76s41mz";
};
buildInputs = [boost zlib botan libidn lua pcre sqlite];
preConfigure = ''
export sqlite_LIBS=-lsqlite3
export NIX_LDFLAGS="$NIX_LDFLAGS -ldl"
'';
}