summary refs log tree commit diff
path: root/pkgs/applications/science/misc/fityk/default.nix
blob: 4c93eef2b1c012e0751692156ab7c575b8296fb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, wxGTK30, boost, lua, zlib, bzip2, xylib, readline, gnuplot }:

let
  name    = "fityk";
  version = "1.2.9";
in
stdenv.mkDerivation {
  name = "${name}-${version}";

  src = fetchurl {
    url = "https://github.com/wojdyr/fityk/releases/download/v${version}/${name}-${version}.tar.bz2";
    sha256 = "1gl938nd2jyya8b3gzbagm1jab2mkc9zvr6zsg5d0vkfdqlk0pv1";
  };

  buildInputs = [wxGTK30 boost lua zlib bzip2 xylib readline gnuplot ];

  meta = {
    description = "Curve fitting and peak fitting software";
    license = "GPL2";
    homepage = http://fityk.nieto.pl/;
    platforms = stdenv.lib.platforms.linux;
  };
}