about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/xylib/default.nix
blob: ab2e3792eeabf37a2c126a5b4214b54de521a9ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, stdenv
, fetchurl
, boost
, zlib
, bzip2
, wxGTK32
}:

stdenv.mkDerivation rec {
  pname = "xylib";
  version = "1.6";

  src = fetchurl {
    url = "https://github.com/wojdyr/xylib/releases/download/v${version}/${pname}-${version}.tar.bz2";
    sha256 = "1iqfrfrk78mki5csxysw86zm35ag71w0jvim0f12nwq1z8rwnhdn";
  };

  buildInputs = [
    boost
    zlib
    bzip2
    wxGTK32
  ];

  meta = with lib; {
    description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
    license = licenses.lgpl21;
    homepage = "https://xylib.sourceforge.net/";
    platforms = platforms.linux;
    maintainers = with maintainers; [ pSub ];
  };
}