about summary refs log tree commit diff
path: root/pkgs/tools/text/numdiff
diff options
context:
space:
mode:
authorbbenoist <return_0@live.com>2013-06-01 00:49:30 +0200
committerbbenoist <return_0@live.com>2013-06-01 00:59:58 +0200
commitf7934d7b9d9c56584507079b6edc2986f4e8b401 (patch)
tree7d62bc58510c67bf80b124e763a94ee2f2f16a6b /pkgs/tools/text/numdiff
parent9f4612961bd0e52333e08ce935ac222590b6aa82 (diff)
downloadnixlib-f7934d7b9d9c56584507079b6edc2986f4e8b401.tar
nixlib-f7934d7b9d9c56584507079b6edc2986f4e8b401.tar.gz
nixlib-f7934d7b9d9c56584507079b6edc2986f4e8b401.tar.bz2
nixlib-f7934d7b9d9c56584507079b6edc2986f4e8b401.tar.lz
nixlib-f7934d7b9d9c56584507079b6edc2986f4e8b401.tar.xz
nixlib-f7934d7b9d9c56584507079b6edc2986f4e8b401.tar.zst
nixlib-f7934d7b9d9c56584507079b6edc2986f4e8b401.zip
Add numdiff-5.6.1
A little program that can be used to compare putatively similar files line
by line and field by field, ignoring small numeric differences or/and
different numeric formats.
Diffstat (limited to 'pkgs/tools/text/numdiff')
-rw-r--r--pkgs/tools/text/numdiff/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/text/numdiff/default.nix b/pkgs/tools/text/numdiff/default.nix
new file mode 100644
index 000000000000..eb5ebf612b2b
--- /dev/null
+++ b/pkgs/tools/text/numdiff/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchurl }:
+
+let
+  version = "5.6.1";
+in
+stdenv.mkDerivation {
+  name = "numdiff-${version}";
+  src = fetchurl {
+    url = "http://ftp.igh.cnrs.fr/pub/nongnu/numdiff/numdiff-${version}.tar.gz";
+    sha256 = "062byxp9vajj4flg1rqh0r2nwg9yx608mbsj5y25wkrzmkgcq3fx";
+  };
+  meta = {
+    description = ''
+      A little program that can be used to compare putatively similar files
+      line by line and field by field, ignoring small numeric differences
+      or/and different numeric formats.
+    '';
+    homepage = "http://www.nongnu.org/numdiff/";
+    license = stdenv.lib.licenses.gpl3Plus;
+    maintainers = stdenv.lib.maintainers.bbenoist;
+    platforms = stdenv.lib.platforms.gnu;
+  };
+}