git.iko.soy/typeable/nixpkgs
on master help sign in
Cosmetic change; Replaced automake autoconf
commit3ac089757a76008f75b563a0014bd94a9afbe6d4 authorndowens <ndowens04@gmail.com> dateSun 19 Mar 2017, 16:50 (10 years ago) parentb00bfb0
1 file changed+6−11
pkgs/development/libraries/cre2/default.nix+6−11
pkgs/development/libraries/cre2/default.nix+6−11
@@ -1,9 +1,8 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake,
1+{ stdenv, fetchFromGitHub, autoreconfHook,
22 libtool, pkgconfig, re2, texinfo }:
33
44stdenv.mkDerivation rec {
55 name = "cre2-${version}";
6−
76 version = "0.3.0";
87
98 src = fetchFromGitHub {
@@ -14,26 +13,22 @@ stdenv.mkDerivation rec {
1413 };
1514
1615 nativeBuildInputs = [
17− autoconf
18− automake
16+ autoreconfHook
1917 libtool
2018 pkgconfig
21− re2
22− texinfo
2319 ];
20+ buildInputs = [ re2 texinfo ];
2421
2522 NIX_LDFLAGS="-lre2 -lpthread";
2623
27− preConfigure = "sh autogen.sh";
28−
2924 configureFlags = [
3025 "--enable-maintainer-mode"
3126 ];
3227
33− meta = {
28+ meta = with stdenv.lib; {
3429 homepage = http://marcomaggi.github.io/docs/cre2.html;
3530 description = "C Wrapper for RE2";
36− license = stdenv.lib.licenses.bsd3;
37− platforms = with stdenv.lib.platforms; all;
31+ license = licenses.bsd3;
32+ platforms = platforms.all;
3833 };
3934}