1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/tools/misc/gnokii/default.nix

27 lines
566 B
Nix
Raw Normal View History

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";
};
}