summary refs log tree commit diff
path: root/pkgs/development/libraries/xylib
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2016-03-19 11:56:01 +0100
committerPascal Wittmann <mail@pascal-wittmann.de>2016-03-19 11:56:01 +0100
commit8d128f046d5a9f12083dcce58973503b2f022761 (patch)
treeb03871f7ad60c86953eb9b4f50db1ad3ffd2494e /pkgs/development/libraries/xylib
parentde8cc270c1e93c9fdb46e4e91a847aaa2ae3b17c (diff)
downloadnixpkgs-8d128f046d5a9f12083dcce58973503b2f022761.tar
nixpkgs-8d128f046d5a9f12083dcce58973503b2f022761.tar.gz
nixpkgs-8d128f046d5a9f12083dcce58973503b2f022761.tar.bz2
nixpkgs-8d128f046d5a9f12083dcce58973503b2f022761.tar.lz
nixpkgs-8d128f046d5a9f12083dcce58973503b2f022761.tar.xz
nixpkgs-8d128f046d5a9f12083dcce58973503b2f022761.tar.zst
nixpkgs-8d128f046d5a9f12083dcce58973503b2f022761.zip
xylib: 1.3 -> 1.4
Diffstat (limited to 'pkgs/development/libraries/xylib')
-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 ];
   };
 }