mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
Update GNokii
svn path=/nixpkgs/trunk/; revision=18167
This commit is contained in:
parent
4d02c927e6
commit
cf707c5761
@ -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;
|
||||
};
|
||||
}
|
||||
|
9
pkgs/tools/misc/gnokii/src-for-default.nix
Normal file
9
pkgs/tools/misc/gnokii/src-for-default.nix
Normal 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";
|
||||
|
||||
|
||||
}
|
4
pkgs/tools/misc/gnokii/src-info-for-default.nix
Normal file
4
pkgs/tools/misc/gnokii/src-info-for-default.nix
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
downloadPage = "http://www.gnokii.org/download/gnokii/?C=M;O=D";
|
||||
baseName = "gnokii";
|
||||
}
|
Loading…
Reference in New Issue
Block a user