nixpkgs/pkgs/tools/misc/gnokii/default.nix
Michael Raskin 09a719b1a0 Adding gnokii
svn path=/nixpkgs/trunk/; revision=15916
2009-06-10 09:45:03 +00:00

27 lines
566 B
Nix

a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "0.6.27" a;
buildInputs = with a; [
perl intltool gettext
];
in
rec {
src = fetchurl {
url = "http://www.gnokii.org/download/gnokii/gnokii-${version}.tar.bz2";
sha256 = "11p8iv5jmlah3ls16a3jkndwlvwxxan8vwkwazlihaasfmgxgwb9";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "gnokii-" + version;
meta = {
description = "Cellphone tool";
};
}