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