mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
c7c225d5fe
svn path=/nixpkgs/trunk/; revision=15680
18 lines
488 B
Nix
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"
|
|
'';
|
|
}
|