nixpkgs/pkgs/applications/science/misc/fityk/default.nix

29 lines
715 B
Nix
Raw Normal View History

2015-06-24 10:15:44 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2
, 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";
license = stdenv.lib.licenses.gpl2;
homepage = "http://fityk.nieto.pl/";
platforms = stdenv.lib.platforms.linux;
};
}