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