2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2
|
2020-04-24 23:36:52 +00:00
|
|
|
, xylib, readline, gnuplot, swig3 }:
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fityk";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "1.3.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wojdyr";
|
|
|
|
repo = "fityk";
|
|
|
|
rev = "v${version}";
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-m2RaZMYT6JGwa3sOUVsBIzCdZetTbiygaInQWoJ4m1o=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ wxGTK30 boost lua zlib bzip2 xylib readline
|
|
|
|
gnuplot swig3 ];
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
"-std=c++11"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "Curve fitting and peak fitting software";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2;
|
2021-12-30 13:39:12 +00:00
|
|
|
homepage = "https://fityk.nieto.pl/";
|
2021-01-17 00:15:33 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|