git.iko.soy/typeable/nixpkgs
on master help sign in
galculator: 2.1.3 -> 2.1.4 (#24230)
commitbf7847ec7c3a11a4ccc03d72f995d78fb8133add authorndowens <ndowens04@gmail.com> dateThu 23 Mar 2017, 10:00 (10 years ago) parente82baf0
1 file changed+11−8
pkgs/applications/misc/galculator/default.nix+11−8
pkgs/applications/misc/galculator/default.nix+11−8
@@ -1,17 +1,20 @@
1−{ stdenv, fetchurl
2−, intltool, pkgconfig, gtk }:
1+{ stdenv, fetchFromGitHub
2+, autoreconfHook, intltool
3+, gtk, pkgconfig, flex }:
34
45stdenv.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";