Skip to content

Commit bf7847e

Browse files
ndowenszimbatm
ndowens
authored andcommittedMar 23, 2017
galculator: 2.1.3 -> 2.1.4 (#24230)
1 parent e82baf0 commit bf7847e

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed
 

‎pkgs/applications/misc/galculator/default.nix

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
{ stdenv, fetchurl
2-
, intltool, pkgconfig, gtk }:
1+
{ stdenv, fetchFromGitHub
2+
, autoreconfHook, intltool
3+
, gtk, pkgconfig, flex }:
34

45
stdenv.mkDerivation rec {
5-
66
name = "galculator-${version}";
7-
version = "2.1.3";
7+
version = "2.1.4";
88

9-
src = fetchurl {
10-
url = "mirror://sourceforge/galculator/${name}.tar.gz";
11-
sha256 = "12m7dldjk10lpkdxk7zpk98n32ci65zmxidghihb7n1m3rhp3q17";
9+
src = fetchFromGitHub {
10+
owner = "galculator";
11+
repo = "galculator";
12+
rev = "v${version}";
13+
sha256 = "0q0hb62f266709ncyq96bpx4a40a1i6dc5869byvd7x285sx1c2w";
1214
};
1315

14-
buildInputs = [ intltool pkgconfig gtk ];
16+
nativeBuildInputs = [ autoreconfHook intltool pkgconfig ];
17+
buildInputs = [ gtk flex ];
1518

1619
meta = with stdenv.lib; {
1720
description = "A GTK 2/3 algebraic and RPN calculator";

0 commit comments

Comments
 (0)
Please sign in to comment.