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
|
2009-05-20 19:35:48 +02:00
|
|
|
version = "0.44";
|
2009-03-25 17:06:00 +01:00
|
|
|
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";
|
2009-05-20 19:35:48 +02:00
|
|
|
sha256 = "1d1jck5dw210q99km5akz1bsk447sybypdwwi07v1836jkgk0wll";
|
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
|
|
|
}
|