tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
gammu: add some DB support
Gitolite Admin
10 years ago
f13333d4
77f8f35d
+8
-3
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
gammu
default.nix
+8
-3
pkgs/applications/misc/gammu/default.nix
reviewed
···
1
1
{ stdenv, fetchurl, python, pkgconfig, cmake, bluez, libusb1, curl
2
2
-
, libiconv, gettext, sqlite }:
2
2
+
, libiconv, gettext, sqlite
3
3
+
, dbiSupport ? false, libdbi ? null, libdbiDrivers ? null
4
4
+
, postgresSupport ? false, postgresql ? null
5
5
+
}:
3
6
4
7
with stdenv.lib;
5
8
···
14
17
15
18
patches = [ ./bashcomp-dir.patch ];
16
19
17
17
-
buildInputs = [ python pkgconfig cmake bluez libusb1 curl gettext sqlite libiconv ];
20
20
+
buildInputs = [ python pkgconfig cmake bluez libusb1 curl gettext sqlite libiconv ]
21
21
+
++ optionals dbiSupport [ libdbi libdbiDrivers ]
22
22
+
++ optionals postgresSupport [ postgresql ];
18
23
19
24
enableParallelBuilding = true;
20
25
21
26
meta = {
22
27
homepage = "http://wammu.eu/gammu/";
23
23
-
description = "Command line utility and library to control mobil phones";
28
28
+
description = "Command line utility and library to control mobile phones";
24
29
license = licenses.gpl2;
25
30
platforms = platforms.linux;
26
31
maintainers = [ maintainers.coroa ];