Update GNokii

svn path=/nixpkgs/trunk/; revision=18167
This commit is contained in:
Michael Raskin 2009-11-05 22:11:15 +00:00
parent 4d02c927e6
commit cf707c5761
3 changed files with 18 additions and 6 deletions

View file

@ -2,16 +2,13 @@ a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "0.6.27" a;
s = import ./src-for-default.nix;
buildInputs = with a; [
perl intltool gettext
];
in
rec {
src = fetchurl {
url = "http://www.gnokii.org/download/gnokii/gnokii-${version}.tar.bz2";
sha256 = "11p8iv5jmlah3ls16a3jkndwlvwxxan8vwkwazlihaasfmgxgwb9";
};
src = a.fetchUrlFromSrcInfo s;
inherit buildInputs;
configureFlags = [];
@ -19,8 +16,10 @@ rec {
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "gnokii-" + version;
inherit(s) name;
meta = {
description = "Cellphone tool";
maintainers = [a.lib.maintainers.raskin];
platforms = with a.lib.platforms; linux;
};
}

View file

@ -0,0 +1,9 @@
rec {
version="0.6.28.1";
name="gnokii-0.6.28.1";
hash="0l8ifslvzcwm70pycv8gycdr35g4qk1wsjxbk7b4r5z53jhc6hdz";
url="http://www.gnokii.org/download/gnokii/gnokii-${version}.tar.gz";
advertisedUrl="http://www.gnokii.org/download/gnokii/gnokii-0.6.28.1.tar.gz";
}

View file

@ -0,0 +1,4 @@
{
downloadPage = "http://www.gnokii.org/download/gnokii/?C=M;O=D";
baseName = "gnokii";
}