about summary refs log tree commit diff
path: root/pkgs/tools/misc/gnokii/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/gnokii/default.nix')
-rw-r--r--pkgs/tools/misc/gnokii/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/misc/gnokii/default.nix b/pkgs/tools/misc/gnokii/default.nix
index 71e196e449fa6..7ce810a7b56f0 100644
--- a/pkgs/tools/misc/gnokii/default.nix
+++ b/pkgs/tools/misc/gnokii/default.nix
@@ -8,6 +8,9 @@ let
     glib pkgconfig
   ];
 in
+
+assert a.stdenv ? glibc;
+
 rec {
   src = a.fetchUrlFromSrcInfo s;
 
@@ -26,12 +29,12 @@ rec {
     export CFLAGS="-ggdb -O0 -include ${a.stdenv.glibc}/include/locale.h"
     export CXXFLAGS="-ggdb -O0"
 
-    patch -p 1 < ${/tmp/patch}
   '' [ "minInit" "doUnpack" ];
       
   inherit(s) name;
   meta = {
     description = "Cellphone tool";
+    homepage = http://www.gnokii.org;
     maintainers = [a.lib.maintainers.raskin];
     platforms = with a.lib.platforms; linux;
   };