3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/misc/fityk/default.nix

29 lines
706 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2
2015-06-24 10:15:44 +01:00
, xylib, readline, gnuplot, swig3 }:
let
name = "fityk";
2017-01-01 17:19:02 +00:00
version = "1.3.1";
in
stdenv.mkDerivation {
name = "${name}-${version}";
2015-06-24 10:15:44 +01:00
src = fetchFromGitHub {
owner = "wojdyr";
repo = "fityk";
rev = "v${version}";
2017-01-01 17:19:02 +00:00
sha256 = "0kmrjjjwrh6xgw590awcd52b86kksmv6rfgih75zvpiavr1ygwsi";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ wxGTK30 boost lua zlib bzip2 xylib readline
2015-06-24 10:15:44 +01:00
gnuplot swig3 ];
meta = {
description = "Curve fitting and peak fitting software";
2021-01-15 13:21:58 +00:00
license = lib.licenses.gpl2;
homepage = "http://fityk.nieto.pl/";
2021-01-15 13:21:58 +00:00
platforms = lib.platforms.linux;
};
}