nixpkgs/pkgs/development/libraries/xylib/default.nix

22 lines
699 B
Nix
Raw Normal View History

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