mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
6986ddc2cf
svn path=/nixpkgs/trunk/; revision=14704
18 lines
488 B
Nix
18 lines
488 B
Nix
{stdenv, fetchurl, boost, zlib, botan, libidn,
|
|
lua, pcre, sqlite}:
|
|
|
|
let
|
|
version = "0.43";
|
|
in stdenv.mkDerivation {
|
|
name = "monotone-${version}";
|
|
src = fetchurl {
|
|
url = "http://monotone.ca/downloads/${version}/monotone-${version}.tar.gz";
|
|
sha256 = "1vfvvk4flv6n7x1nrizjpwpsfhf3dv3b60h7cs4ysgvzb76s41mz";
|
|
};
|
|
buildInputs = [boost zlib botan libidn lua pcre sqlite];
|
|
preConfigure = ''
|
|
export sqlite_LIBS=-lsqlite3
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -ldl"
|
|
'';
|
|
}
|