galculator: 2.1.3 -> 2.1.4 (#24230)

authored by ndowens and committed by zimbatm.tngl.sh bf7847ec e82baf04

+11 -8
+11 -8
pkgs/applications/misc/galculator/default.nix
··· 1 - { stdenv, fetchurl 2 - , intltool, pkgconfig, gtk }: 1 + { stdenv, fetchFromGitHub 2 + , autoreconfHook, intltool 3 + , gtk, pkgconfig, flex }: 3 4 4 5 stdenv.mkDerivation rec { 5 - 6 6 name = "galculator-${version}"; 7 - version = "2.1.3"; 7 + version = "2.1.4"; 8 8 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"; 12 14 }; 13 15 14 - buildInputs = [ intltool pkgconfig gtk ]; 16 + nativeBuildInputs = [ autoreconfHook intltool pkgconfig ]; 17 + buildInputs = [ gtk flex ]; 15 18 16 19 meta = with stdenv.lib; { 17 20 description = "A GTK 2/3 algebraic and RPN calculator";