2014-08-14 01:13:12 +02:00
|
|
|
{ stdenv, fetchurl, boost, zlib, bzip2 }:
|
|
|
|
|
2016-03-19 11:56:01 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xylib-${version}";
|
|
|
|
version = "1.4";
|
2014-08-14 01:13:12 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/wojdyr/xylib/releases/download/v${version}/${name}-${version}.tar.bz2";
|
|
|
|
sha256 = "09j426qjbg3damch1hfw16j992kn2hj8gs4lpvqgfqdw61kvqivh";
|
|
|
|
};
|
|
|
|
|
2016-03-19 11:56:01 +01:00
|
|
|
buildInputs = [ boost zlib bzip2 ];
|
2014-08-14 01:13:12 +02:00
|
|
|
|
2016-03-19 11:56:01 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
|
2016-03-19 11:56:01 +01:00
|
|
|
license = licenses.lgpl21;
|
2014-08-14 01:13:12 +02:00
|
|
|
homepage = http://xylib.sourceforge.net/;
|
2016-03-19 11:56:01 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2014-08-14 01:13:12 +02:00
|
|
|
};
|
|
|
|
}
|