summary refs log tree commit diff
path: root/pkgs/applications/misc/gammu/default.nix
blob: 56e45b11c70603112a3c547b671cccad4f18e915 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl, python, pkgconfig, cmake, bluez, libusb1, curl
, libiconv, gettext, sqlite }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "gammu-${version}";
  version = "1.33.0";

  src = fetchurl {
    url = "http://sourceforge.net/projects/gammu/files/gammu/${version}/gammu-${version}.tar.xz";
    sha256 = "18gplx1v9d70k1q86d5i4n4dfpx367g34pj3zscppx126vwhv112";
  };

  patches = [ ./bashcomp-dir.patch ];

  buildInputs = [ python pkgconfig cmake bluez libusb1 curl libiconv
    gettext sqlite ];

  enableParallelBuilding = true;

  meta = {
    homepage = "http://wammu.eu/gammu/";
    description = "Command line utility and library to control mobil phones";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.coroa ];
  };
}