2009-03-25 17:06:00 +01:00
|
|
|
{stdenv, fetchurl, boost, zlib, botan, libidn,
|
|
|
|
lua, pcre, sqlite}:
|
2008-01-25 12:56:36 +01:00
|
|
|
|
2009-03-25 17:06:00 +01:00
|
|
|
let
|
|
|
|
version = "0.43";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "monotone-${version}";
|
2008-01-25 12:56:36 +01:00
|
|
|
src = fetchurl {
|
2009-03-25 17:06:00 +01:00
|
|
|
url = "http://monotone.ca/downloads/${version}/monotone-${version}.tar.gz";
|
|
|
|
sha256 = "1vfvvk4flv6n7x1nrizjpwpsfhf3dv3b60h7cs4ysgvzb76s41mz";
|
2008-01-25 12:56:36 +01:00
|
|
|
};
|
2009-03-25 17:06:00 +01:00
|
|
|
buildInputs = [boost zlib botan libidn lua pcre sqlite];
|
|
|
|
preConfigure = ''
|
|
|
|
export sqlite_LIBS=-lsqlite3
|
|
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -ldl"
|
|
|
|
'';
|
2008-01-25 12:56:36 +01:00
|
|
|
}
|