Files
nixpkgs/pkgs/by-name/fi/fityk/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

59 lines
907 B
Nix

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