monotone: fix

This commit is contained in:
Vladimír Čunát
2013-02-24 00:31:20 +01:00
parent df0e2bbf4d
commit 37bae3193d
2 changed files with 172 additions and 2 deletions
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, boost, zlib, botan, libidn
, lua, pcre, sqlite, perl, pkgconfig }:
, lua, pcre, sqlite, perl, pkgconfig, expect }:
let
version = "1.0";
@@ -16,7 +16,9 @@ stdenv.mkDerivation rec {
sha256 = "5c530bc4652b2c08b5291659f0c130618a14780f075f981e947952dcaefc31dc";
};
buildInputs = [boost zlib botan libidn lua pcre sqlite pkgconfig];
patches = [ ./glibc-file-handle.patch ];
buildInputs = [ boost zlib botan libidn lua pcre sqlite pkgconfig expect ];
postInstall = ''
mkdir -p $out/share/${name}
@@ -25,6 +27,8 @@ stdenv.mkDerivation rec {
cp -v contrib/Monotone.pm $out/lib/perl5/site_perl/${perlVersion}
'';
#doCheck = true; # some tests fail (and they take VERY long)
meta = {
description = "A free distributed version control system";
maintainers = [stdenv.lib.maintainers.raskin];