mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
Adding gnokii
svn path=/nixpkgs/trunk/; revision=15916
This commit is contained in:
parent
2d0b32453c
commit
09a719b1a0
26
pkgs/tools/misc/gnokii/default.nix
Normal file
26
pkgs/tools/misc/gnokii/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue