Adding gnokii

svn path=/nixpkgs/trunk/; revision=15916
This commit is contained in:
Michael Raskin 2009-06-10 09:45:03 +00:00
parent 2d0b32453c
commit 09a719b1a0
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,26 @@
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";
};
}

View file

@ -731,6 +731,10 @@ let
inherit fetchurl stdenv x11 mesa;
};
gnokii = builderDefsPackage (import ../tools/misc/gnokii) {
inherit intltool perl gettext;
};
gnugrep = useFromStdenv "gnugrep"
(import ../tools/text/gnugrep {
inherit fetchurl stdenv pcre;