···
{ stdenv, fetchurl, python, pkgconfig, cmake, bluez, libusb1, curl
-
, libiconv, gettext, sqlite }:
···
patches = [ ./bashcomp-dir.patch ];
-
buildInputs = [ python pkgconfig cmake bluez libusb1 curl gettext sqlite libiconv ];
enableParallelBuilding = true;
homepage = "http://wammu.eu/gammu/";
-
description = "Command line utility and library to control mobil phones";
platforms = platforms.linux;
maintainers = [ maintainers.coroa ];
···
{ stdenv, fetchurl, python, pkgconfig, cmake, bluez, libusb1, curl
+
, libiconv, gettext, sqlite
+
, dbiSupport ? false, libdbi ? null, libdbiDrivers ? null
+
, postgresSupport ? false, postgresql ? null
···
patches = [ ./bashcomp-dir.patch ];
+
buildInputs = [ python pkgconfig cmake bluez libusb1 curl gettext sqlite libiconv ]
+
++ optionals dbiSupport [ libdbi libdbiDrivers ]
+
++ optionals postgresSupport [ postgresql ];
enableParallelBuilding = true;
homepage = "http://wammu.eu/gammu/";
+
description = "Command line utility and library to control mobile phones";
platforms = platforms.linux;
maintainers = [ maintainers.coroa ];