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