2022-11-27 09:42:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, boost
|
|
|
|
, zlib
|
|
|
|
, bzip2
|
|
|
|
, wxGTK32
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xylib";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "1.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/wojdyr/xylib/releases/download/v${version}/${pname}-${version}.tar.bz2";
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "1iqfrfrk78mki5csxysw86zm35ag71w0jvim0f12nwq1z8rwnhdn";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
buildInputs = [
|
|
|
|
boost
|
|
|
|
zlib
|
|
|
|
bzip2
|
|
|
|
wxGTK32
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
|
|
|
|
license = licenses.lgpl21;
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://xylib.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|