depot/pkgs/development/libraries/xylib/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

33 lines
724 B
Nix

{ 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 ];
};
}