mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
27 lines
566 B
Nix
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";
|
||
|
};
|
||
|
}
|