nixpkgs/pkgs/applications/version-management/monotone/default.nix
Michael Raskin b595a17822 Update monotone
svn path=/nixpkgs/trunk/; revision=17517
2009-09-29 22:03:39 +00:00

21 lines
565 B
Nix

{stdenv, fetchurl, boost, zlib, botan, libidn,
lua, pcre, sqlite, lib}:
let
version = "0.45";
in stdenv.mkDerivation {
name = "monotone-${version}";
src = fetchurl {
url = "http://monotone.ca/downloads/${version}/monotone-${version}.tar.gz";
sha256 = "64c734274715f392eb4a879172a11c0606d37c02b4a6f23045772af5f8e2a9ec";
};
buildInputs = [boost zlib botan libidn lua pcre sqlite];
preConfigure = ''
export sqlite_LIBS=-lsqlite3
export NIX_LDFLAGS="$NIX_LDFLAGS -ldl"
'';
meta = {
maintainers = [lib.maintainers.raskin];
};
}