Cosmetic change; Replaced automake autoconf
This commit is contained in:
parent
b00bfb0401
commit
3ac089757a
@ -1,9 +1,8 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoconf, automake,
|
{ stdenv, fetchFromGitHub, autoreconfHook,
|
||||||
libtool, pkgconfig, re2, texinfo }:
|
libtool, pkgconfig, re2, texinfo }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cre2-${version}";
|
name = "cre2-${version}";
|
||||||
|
|
||||||
version = "0.3.0";
|
version = "0.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -14,26 +13,22 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoconf
|
autoreconfHook
|
||||||
automake
|
|
||||||
libtool
|
libtool
|
||||||
pkgconfig
|
pkgconfig
|
||||||
re2
|
|
||||||
texinfo
|
|
||||||
];
|
];
|
||||||
|
buildInputs = [ re2 texinfo ];
|
||||||
|
|
||||||
NIX_LDFLAGS="-lre2 -lpthread";
|
NIX_LDFLAGS="-lre2 -lpthread";
|
||||||
|
|
||||||
preConfigure = "sh autogen.sh";
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-maintainer-mode"
|
"--enable-maintainer-mode"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://marcomaggi.github.io/docs/cre2.html;
|
homepage = http://marcomaggi.github.io/docs/cre2.html;
|
||||||
description = "C Wrapper for RE2";
|
description = "C Wrapper for RE2";
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = with stdenv.lib.platforms; all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user