about summary refs log tree commit diff
path: root/pkgs/development/libraries/goocanvas/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/goocanvas/default.nix')
-rw-r--r--pkgs/development/libraries/goocanvas/default.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/development/libraries/goocanvas/default.nix b/pkgs/development/libraries/goocanvas/default.nix
index 4bec18e7eca2..45442072d39b 100644
--- a/pkgs/development/libraries/goocanvas/default.nix
+++ b/pkgs/development/libraries/goocanvas/default.nix
@@ -1,17 +1,18 @@
-args:
-args.stdenv.mkDerivation {
+{ stdenv, fetchurl, gtk, cairo, glib, pkgconfig }:
+
+stdenv.mkDerivation {
   name = "goocanvas-0.10";
 
-  src = args.fetchurl {
+  src = fetchurl {
     url = mirror://sourceforge/goocanvas/goocanvas-0.10.tar.gz;
     sha256 = "0b49szbr3n7vpavly9w17ipa8q3ydicdcd177vxbdvbsnvg7aqp9";
   };
 
-  buildInputs =(with args; [gtk cairo glib pkgconfig]);
+  buildInputs = [ gtk cairo glib pkgconfig ];
 
   meta = { 
-      description = "canvas widget for GTK+ using the cairo 2D library";
-      homepage = http://goocanvas.sourceforge.net/;
-      license = ["GPL" "LGPL"];
+    description = "Canvas widget for GTK+ based on the the Cairo 2D library";
+    homepage = http://goocanvas.sourceforge.net/;
+    license = ["GPL" "LGPL"];
   };
 }