nixpkgs/pkgs/applications/version-management/monotone/default.nix
Michael Raskin c7c225d5fe Update monotone
svn path=/nixpkgs/trunk/; revision=15680
2009-05-20 17:35:48 +00:00

18 lines
488 B
Nix

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