2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl, boost, zlib, bzip2, wxGTK30 }:
|
2014-08-13 16:13:12 -07:00
|
|
|
|
2016-03-19 03:56:01 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "xylib";
|
2020-09-26 20:33:22 -07:00
|
|
|
version = "1.6";
|
2014-08-13 16:13:12 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "https://github.com/wojdyr/xylib/releases/download/v${version}/${pname}-${version}.tar.bz2";
|
2020-09-26 20:33:22 -07:00
|
|
|
sha256 = "1iqfrfrk78mki5csxysw86zm35ag71w0jvim0f12nwq1z8rwnhdn";
|
2014-08-13 16:13:12 -07:00
|
|
|
};
|
|
|
|
|
2017-01-01 09:19:14 -08:00
|
|
|
buildInputs = [ boost zlib bzip2 wxGTK30 ];
|
2014-08-13 16:13:12 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2014-08-24 07:21:08 -07:00
|
|
|
description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
|
2016-03-19 03:56:01 -07:00
|
|
|
license = licenses.lgpl21;
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://xylib.sourceforge.net/";
|
2016-03-19 03:56:01 -07:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2014-08-13 16:13:12 -07:00
|
|
|
};
|
|
|
|
}
|