depot/third_party/nixpkgs/pkgs/applications/science/misc/fityk/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

50 lines
763 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, wxGTK32
, boost
, lua
, zlib
, bzip2
, xylib
, readline
, gnuplot
, swig3
}:
stdenv.mkDerivation rec {
pname = "fityk";
version = "1.3.2";
src = fetchFromGitHub {
owner = "wojdyr";
repo = "fityk";
rev = "v${version}";
sha256 = "sha256-m2RaZMYT6JGwa3sOUVsBIzCdZetTbiygaInQWoJ4m1o=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
wxGTK32
boost
lua
zlib
bzip2
xylib
readline
gnuplot
swig3
];
NIX_CFLAGS_COMPILE = [
"-std=c++11"
];
meta = {
description = "Curve fitting and peak fitting software";
license = lib.licenses.gpl2;
homepage = "https://fityk.nieto.pl/";
platforms = lib.platforms.linux;
};
}