From cf13409313993738332c6a4e33decab23c9bbb7c Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Wed, 24 Jun 2015 11:15:44 +0200 Subject: fityk: update 1.2.9 to 1.3.0 --- pkgs/applications/science/misc/fityk/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'pkgs/applications/science/misc') diff --git a/pkgs/applications/science/misc/fityk/default.nix b/pkgs/applications/science/misc/fityk/default.nix index 7a534fce4f67..7d9f8542eed3 100644 --- a/pkgs/applications/science/misc/fityk/default.nix +++ b/pkgs/applications/science/misc/fityk/default.nix @@ -1,18 +1,22 @@ -{ stdenv, fetchurl, wxGTK30, boost, lua, zlib, bzip2, xylib, readline, gnuplot }: +{ stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2 +, xylib, readline, gnuplot, swig3 }: let name = "fityk"; - version = "1.2.9"; + version = "1.3.0"; in stdenv.mkDerivation { name = "${name}-${version}"; - src = fetchurl { - url = "https://github.com/wojdyr/fityk/releases/download/v${version}/${name}-${version}.tar.bz2"; - sha256 = "1gl938nd2jyya8b3gzbagm1jab2mkc9zvr6zsg5d0vkfdqlk0pv1"; + src = fetchFromGitHub { + owner = "wojdyr"; + repo = "fityk"; + rev = "v${version}"; + sha256 = "07xzhy47q5ddg1qn51qds4wp6r5g2cx8bla0hm0a9ipr2hg92lm9"; }; - buildInputs = [wxGTK30 boost lua zlib bzip2 xylib readline gnuplot ]; + buildInputs = [ autoreconfHook wxGTK30 boost lua zlib bzip2 xylib readline + gnuplot swig3 ]; meta = { description = "Curve fitting and peak fitting software"; -- cgit 1.4.1