summary refs log tree commit diff
path: root/pkgs/development/libraries/xylib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/xylib/default.nix')
-rw-r--r--pkgs/development/libraries/xylib/default.nix18
1 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/development/libraries/xylib/default.nix b/pkgs/development/libraries/xylib/default.nix
index fe9b6c5c3ca..030e2f0857b 100644
--- a/pkgs/development/libraries/xylib/default.nix
+++ b/pkgs/development/libraries/xylib/default.nix
@@ -1,23 +1,21 @@
 { stdenv, fetchurl, boost, zlib, bzip2 }:
 
-let
-  name    = "xylib";
-  version = "1.3";
-in
-stdenv.mkDerivation {
-  name = "${name}-${version}";
+stdenv.mkDerivation rec {
+  name = "xylib-${version}";
+  version = "1.4";
 
   src = fetchurl {
     url = "https://github.com/wojdyr/xylib/releases/download/v${version}/${name}-${version}.tar.bz2";
     sha256 = "09j426qjbg3damch1hfw16j992kn2hj8gs4lpvqgfqdw61kvqivh";
   };
 
-  buildInputs = [boost zlib bzip2 ];
+  buildInputs = [ boost zlib bzip2 ];
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
-    license = "LGPL";
+    license = licenses.lgpl21;
     homepage = http://xylib.sourceforge.net/;
-    platforms = stdenv.lib.platforms.linux;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ pSub ];
   };
 }