2015-09-15 05:27:19 +01:00
|
|
|
a @ { intltool, perl, gettext, libusb, pkgconfig, bluez, readline, pcsclite, libical, gtk, glib, libXpm, ... } :
|
|
|
|
let
|
2009-06-10 10:45:03 +01:00
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2015-09-15 05:27:19 +01:00
|
|
|
s = import ./src-for-default.nix;
|
2009-06-10 10:45:03 +01:00
|
|
|
buildInputs = with a; [
|
2009-11-22 19:28:56 +00:00
|
|
|
perl intltool gettext libusb
|
2011-03-15 23:09:14 +00:00
|
|
|
glib gtk pkgconfig bluez readline
|
|
|
|
libXpm pcsclite libical
|
2009-06-10 10:45:03 +01:00
|
|
|
];
|
|
|
|
in
|
2010-09-19 19:32:25 +01:00
|
|
|
|
|
|
|
assert a.stdenv ? glibc;
|
|
|
|
|
2009-06-10 10:45:03 +01:00
|
|
|
rec {
|
2009-11-05 22:11:15 +00:00
|
|
|
src = a.fetchUrlFromSrcInfo s;
|
2009-06-10 10:45:03 +01:00
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
2011-03-15 23:09:14 +00:00
|
|
|
phaseNames = [ "doConfigure" "doMakeInstall"];
|
2010-09-18 17:29:47 +01:00
|
|
|
|
2009-11-05 22:11:15 +00:00
|
|
|
inherit(s) name;
|
2009-06-10 10:45:03 +01:00
|
|
|
meta = {
|
|
|
|
description = "Cellphone tool";
|
2010-09-27 19:15:33 +01:00
|
|
|
homepage = http://www.gnokii.org;
|
2009-11-05 22:11:15 +00:00
|
|
|
maintainers = [a.lib.maintainers.raskin];
|
|
|
|
platforms = with a.lib.platforms; linux;
|
2009-06-10 10:45:03 +01:00
|
|
|
};
|
|
|
|
}
|