summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarkus Kowalewski <markus.kowalewski@gmail.com>2018-10-18 20:48:47 +0200
committerMarkus Kowalewski <markus.kowalewski@gmail.com>2018-10-18 22:35:56 +0200
commit804e86c00439b17bcae00f2041ece0b527df567a (patch)
treeeddb26fed63b923d21db5aaf19c03d4363f891bc
parentad250c18f7b84b1dd08c471d7424f79cfaf5dea0 (diff)
downloadnixpkgs-804e86c00439b17bcae00f2041ece0b527df567a.tar
nixpkgs-804e86c00439b17bcae00f2041ece0b527df567a.tar.gz
nixpkgs-804e86c00439b17bcae00f2041ece0b527df567a.tar.bz2
nixpkgs-804e86c00439b17bcae00f2041ece0b527df567a.tar.lz
nixpkgs-804e86c00439b17bcae00f2041ece0b527df567a.tar.xz
nixpkgs-804e86c00439b17bcae00f2041ece0b527df567a.tar.zst
nixpkgs-804e86c00439b17bcae00f2041ece0b527df567a.zip
libjson: add license + refactor longDescription
-rw-r--r--pkgs/development/libraries/libjson/default.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libjson/default.nix b/pkgs/development/libraries/libjson/default.nix
index a53918fd5f7..c83143dd6b1 100644
--- a/pkgs/development/libraries/libjson/default.nix
+++ b/pkgs/development/libraries/libjson/default.nix
@@ -11,10 +11,17 @@ in stdenv.mkDerivation rec {
   buildInputs = [ unzip ];
   makeFlags = [ "prefix=$(out)" ];
   preInstall = "mkdir -p $out/lib";
-  meta = {
+
+  meta = with stdenv.lib; {
     homepage = http://libjson.sourceforge.net/;
     description = "A JSON reader and writer";
-    longDescription = "A JSON reader and writer which is super-effiecient and usually runs circles around other JSON libraries. It's highly customizable to optimize for your particular project, and very lightweight. For Windows, OSX, or Linux. Works in any language.";
-    platforms = stdenv.lib.platforms.unix;
+    longDescription = ''
+      A JSON reader and writer which is super-efficient and
+      usually runs circles around other JSON libraries.
+      It's highly customizable to optimize for your particular project, and
+      very lightweight. For Windows, OSX, or Linux. Works in any language.
+    '';
+    platforms = platforms.unix;
+    license = licenses.bsd2;
   };
 }