diff options
author | Rahul Gopinath <rahul@gopinath.org> | 2016-06-23 01:05:25 -0700 |
---|---|---|
committer | Rahul Gopinath <rahul@gopinath.org> | 2016-06-23 09:55:54 -0700 |
commit | 586a9c0d9ced543c5d2f958792b5f7adcdc1792b (patch) | |
tree | ac0ab83bc96d7de672585102cc03523e44532b1f /pkgs/development | |
parent | 21f9180d49d1d911668620f3d8897c1e1352672a (diff) | |
download | nixlib-586a9c0d9ced543c5d2f958792b5f7adcdc1792b.tar nixlib-586a9c0d9ced543c5d2f958792b5f7adcdc1792b.tar.gz nixlib-586a9c0d9ced543c5d2f958792b5f7adcdc1792b.tar.bz2 nixlib-586a9c0d9ced543c5d2f958792b5f7adcdc1792b.tar.lz nixlib-586a9c0d9ced543c5d2f958792b5f7adcdc1792b.tar.xz nixlib-586a9c0d9ced543c5d2f958792b5f7adcdc1792b.tar.zst nixlib-586a9c0d9ced543c5d2f958792b5f7adcdc1792b.zip |
gnumake: Allow guile extension language as an optional feature
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/build-managers/gnumake/4.2/default.nix | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/development/tools/build-managers/gnumake/4.2/default.nix b/pkgs/development/tools/build-managers/gnumake/4.2/default.nix index a3c8327655ee..c484bf952977 100644 --- a/pkgs/development/tools/build-managers/gnumake/4.2/default.nix +++ b/pkgs/development/tools/build-managers/gnumake/4.2/default.nix @@ -1,4 +1,6 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchurl, guileSupport ? false, pkgconfig ? null , guile ? null }: + +assert guileSupport -> ( pkgconfig != null && guile != null ); let version = "4.2"; @@ -19,12 +21,16 @@ stdenv.mkDerivation { ./impure-dirs.patch ]; + buildInputs = stdenv.lib.optional guileSupport [ guile pkgconfig ]; + + configureFlags = stdenv.lib.optional guileSupport [ "--with-guile" ]; + outputs = [ "out" "doc" ]; - meta = { + meta = with stdenv.lib; { homepage = http://www.gnu.org/software/make/; description = "A tool to control the generation of non-source files from sources"; - license = stdenv.lib.licenses.gpl3Plus; + license = licenses.gpl3Plus; longDescription = '' Make is a tool which controls the generation of executables and @@ -37,6 +43,7 @@ stdenv.mkDerivation { to build and install the program. ''; - platforms = stdenv.lib.platforms.all; + platforms = platforms.all; + maintainers = [ maintainers.vrthra ]; }; } |