nixpkgs/pkgs/development/libraries/xylib/default.nix
2020-09-30 09:25:49 -07:00

22 lines
701 B
Nix

{ stdenv, fetchurl, boost, zlib, bzip2, wxGTK30 }:
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 wxGTK30 ];
meta = with stdenv.lib; {
description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
license = licenses.lgpl21;
homepage = "http://xylib.sourceforge.net/";
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}