2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2
|
2015-06-24 09:15:44 +00:00
|
|
|
, xylib, readline, gnuplot, swig3 }:
|
2014-08-13 23:52:06 +00:00
|
|
|
|
2022-03-07 11:37:20 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fityk";
|
2022-08-10 13:28:43 +00:00
|
|
|
version = "1.3.2";
|
2014-08-13 23:52:06 +00:00
|
|
|
|
2015-06-24 09:15:44 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wojdyr";
|
|
|
|
repo = "fityk";
|
|
|
|
rev = "v${version}";
|
2022-08-10 13:28:43 +00:00
|
|
|
sha256 = "sha256-m2RaZMYT6JGwa3sOUVsBIzCdZetTbiygaInQWoJ4m1o=";
|
2014-08-13 23:52:06 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ wxGTK30 boost lua zlib bzip2 xylib readline
|
2015-06-24 09:15:44 +00:00
|
|
|
gnuplot swig3 ];
|
2014-08-13 23:52:06 +00:00
|
|
|
|
2022-04-16 05:09:03 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
"-std=c++11"
|
|
|
|
];
|
|
|
|
|
2014-08-13 23:52:06 +00:00
|
|
|
meta = {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Curve fitting and peak fitting software";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2;
|
2021-12-29 15:02:51 +00:00
|
|
|
homepage = "https://fityk.nieto.pl/";
|
2021-01-15 13:21:58 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2014-08-13 23:52:06 +00:00
|
|
|
};
|
|
|
|
}
|