git.iko.soy/typeable/nixpkgs
on master help sign in
fityk: update 1.2.9 to 1.3.0
cf13409Pascal Wittmann
pkgs/applications/science/misc/fityk/default.nix+10−6
@@ -1,18 +1,22 @@
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
3let
4let
4 name = "fityk";
5 name = "fityk";
5− version = "1.2.9";
6+ version = "1.3.0";
6in
7in
7stdenv.mkDerivation {
8stdenv.mkDerivation {
8 name = "${name}-${version}";
9 name = "${name}-${version}";
9
10
10− src = fetchurl {
11+ src = fetchFromGitHub {
11− url = "https://github.com/wojdyr/fityk/releases/download/v${version}/${name}-${version}.tar.bz2";
12+ owner = "wojdyr";
12− sha256 = "1gl938nd2jyya8b3gzbagm1jab2mkc9zvr6zsg5d0vkfdqlk0pv1";
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 meta = {
21 meta = {
18 description = "Curve fitting and peak fitting software";
22 description = "Curve fitting and peak fitting software";