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

22 lines
701 B
Nix
Raw Normal View History

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