2009-03-25 16:06:00 +00:00
|
|
|
{stdenv, fetchurl, boost, zlib, botan, libidn,
|
2009-07-07 16:05:15 +01:00
|
|
|
lua, pcre, sqlite, lib}:
|
2008-01-25 11:56:36 +00:00
|
|
|
|
2009-03-25 16:06:00 +00:00
|
|
|
let
|
2009-09-29 23:03:39 +01:00
|
|
|
version = "0.45";
|
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-09-29 23:03:39 +01:00
|
|
|
sha256 = "64c734274715f392eb4a879172a11c0606d37c02b4a6f23045772af5f8e2a9ec";
|
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"
|
|
|
|
'';
|
2009-07-07 16:05:15 +01:00
|
|
|
meta = {
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
};
|
2008-01-25 11:56:36 +00:00
|
|
|
}
|