about summary refs log tree commit diff
path: root/pkgs/tools/misc/gnokii/default.nix
blob: c0593e5c017787ec129db042c92aac553d7a95ad (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
30
31
a @ { intltool, perl, gettext, libusb, pkgconfig, bluez, readline, pcsclite, libical, gtk, glib, libXpm, ... } :
let
  fetchurl = a.fetchurl;

  s = import ./src-for-default.nix;
  buildInputs = with a; [
    perl intltool gettext libusb
    glib gtk pkgconfig bluez readline
    libXpm pcsclite libical
  ];
in

assert a.stdenv ? glibc;

rec {
  src = a.fetchUrlFromSrcInfo s;

  inherit buildInputs;
  configureFlags = [];

  /* doConfigure should be removed if not needed */
  phaseNames = [ "doConfigure" "doMakeInstall"];

  inherit(s) name;
  meta = {
    description = "Cellphone tool";
    homepage = http://www.gnokii.org;
    maintainers = [a.lib.maintainers.raskin];
    platforms = with a.lib.platforms; linux;
  };
}