fityk: update 1.2.9 to 1.3.0

+10 -6
+10 -6
pkgs/applications/science/misc/fityk/default.nix
··· 1 - { stdenv, fetchurl, wxGTK30, boost, lua, zlib, bzip2, xylib, readline, gnuplot }: 1 + { stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2 2 + , xylib, readline, gnuplot, swig3 }: 2 3 3 4 let 4 5 name = "fityk"; 5 - version = "1.2.9"; 6 + version = "1.3.0"; 6 7 in 7 8 stdenv.mkDerivation { 8 9 name = "${name}-${version}"; 9 10 10 - src = fetchurl { 11 - url = "https://github.com/wojdyr/fityk/releases/download/v${version}/${name}-${version}.tar.bz2"; 12 - sha256 = "1gl938nd2jyya8b3gzbagm1jab2mkc9zvr6zsg5d0vkfdqlk0pv1"; 11 + src = fetchFromGitHub { 12 + owner = "wojdyr"; 13 + repo = "fityk"; 14 + rev = "v${version}"; 15 + sha256 = "07xzhy47q5ddg1qn51qds4wp6r5g2cx8bla0hm0a9ipr2hg92lm9"; 13 16 }; 14 17 15 - buildInputs = [wxGTK30 boost lua zlib bzip2 xylib readline gnuplot ]; 18 + buildInputs = [ autoreconfHook wxGTK30 boost lua zlib bzip2 xylib readline 19 + gnuplot swig3 ]; 16 20 17 21 meta = { 18 22 description = "Curve fitting and peak fitting software";