summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-06-25 20:36:16 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-06-25 20:39:10 +0200
commit32bca3976f0369d1ee8442e307ddcce6368199b8 (patch)
tree6fabbcbca152356a0d362546c570911a7a0dbe7d /pkgs/development/tools
parent1149154e0e26b8acb78ce4c4f1f729d39e9ed1a9 (diff)
downloadnixlib-32bca3976f0369d1ee8442e307ddcce6368199b8.tar
nixlib-32bca3976f0369d1ee8442e307ddcce6368199b8.tar.gz
nixlib-32bca3976f0369d1ee8442e307ddcce6368199b8.tar.bz2
nixlib-32bca3976f0369d1ee8442e307ddcce6368199b8.tar.lz
nixlib-32bca3976f0369d1ee8442e307ddcce6368199b8.tar.xz
nixlib-32bca3976f0369d1ee8442e307ddcce6368199b8.tar.zst
nixlib-32bca3976f0369d1ee8442e307ddcce6368199b8.zip
openocd: update meta attributes
* Don't repeat package name in description
* Fix longDescription indent
* Use licenses.gpl2Plus instead of string literal "GPLv2+"
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/misc/openocd/default.nix30
1 files changed, 14 insertions, 16 deletions
diff --git a/pkgs/development/tools/misc/openocd/default.nix b/pkgs/development/tools/misc/openocd/default.nix
index 490ed6d1eef5..ea9278c2b3d0 100644
--- a/pkgs/development/tools/misc/openocd/default.nix
+++ b/pkgs/development/tools/misc/openocd/default.nix
@@ -33,22 +33,20 @@ stdenv.mkDerivation rec {
     ln -s "$out/share/openocd/contrib/99-openocd.udev" "$out/etc/udev/rules.d/99-openocd.rules"
   '';
 
-  meta = {
+  meta = with stdenv.lib; {
+    description = "Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing";
+    longDescription = ''
+      OpenOCD provides on-chip programming and debugging support with a layered
+      architecture of JTAG interface and TAP support, debug target support
+      (e.g. ARM, MIPS), and flash chip drivers (e.g. CFI, NAND, etc.).  Several
+      network interfaces are available for interactiving with OpenOCD: HTTP,
+      telnet, TCL, and GDB.  The GDB server enables OpenOCD to function as a
+      "remote target" for source-level debugging of embedded systems using the
+      GNU GDB program.
+    '';
     homepage = http://openocd.sourceforge.net/;
-    description = "OpenOCD, an on-chip debugger";
-
-    longDescription =
-      '' OpenOCD provides on-chip programming and debugging support with a
-         layered architecture of JTAG interface and TAP support, debug target
-         support (e.g. ARM, MIPS), and flash chip drivers (e.g. CFI, NAND,
-         etc.).  Several network interfaces are available for interactiving
-         with OpenOCD: HTTP, telnet, TCL, and GDB.  The GDB server enables
-         OpenOCD to function as a "remote target" for source-level debugging
-         of embedded systems using the GNU GDB program.
-      '';
-
-    license = "GPLv2+";
-    maintainers = with stdenv.lib.maintainers; [ viric bjornfor ];
-    platforms = with stdenv.lib.platforms; linux;
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ viric bjornfor ];
+    platforms = platforms.linux;
   };
 }