summary refs log tree commit diff
path: root/pkgs/tools/text/patchutils/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/patchutils/default.nix')
-rw-r--r--pkgs/tools/text/patchutils/default.nix22
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/tools/text/patchutils/default.nix b/pkgs/tools/text/patchutils/default.nix
index b89ffb850a0..0ab73142ea0 100644
--- a/pkgs/tools/text/patchutils/default.nix
+++ b/pkgs/tools/text/patchutils/default.nix
@@ -1,21 +1,19 @@
-args:
-args.stdenv.mkDerivation {
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation {
   name = "patchutils-0.3.0";
 
-  src = args.fetchurl {
+  src = fetchurl {
     url = http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.0.tar.bz2;
     sha256 = "08jzvprhpcgwvx0xlkwc8dbdd9ilvwyr3cwnq96xmbfipch69yi7";
   };
 
-  buildInputs =(with args; []);
-
   meta = { 
-      description = "collection of programs that operate on patch files, fix"
-        + " diffs after manually editing them, create a diff of diffs etc";
-      homepage = http://cyberelk.net/tim/software/patchutils;
-      license = "GPLv2";
-      executables = [ "combinediff" "dehtmldiff" "editdiff" "espdiff"
-        "filterdiff" "fixcvsdiff" "flipdiff" "grepdiff" "interdiff" "lsdiff"
-        "recountdiff" "rediff" "splitdiff" "unwrapdiff" ];
+    description = "Tools to manipulate patch files";
+    homepage = http://cyberelk.net/tim/software/patchutils;
+    license = "GPLv2";
+    executables = [ "combinediff" "dehtmldiff" "editdiff" "espdiff"
+      "filterdiff" "fixcvsdiff" "flipdiff" "grepdiff" "interdiff" "lsdiff"
+      "recountdiff" "rediff" "splitdiff" "unwrapdiff" ];
   };
 }