diff options
author | ndowens <ndowens04@gmail.com> | 2017-03-23 10:00:32 -0500 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2017-03-23 15:00:32 +0000 |
commit | bf7847ec7c3a11a4ccc03d72f995d78fb8133add (patch) | |
tree | 6150c5859d055a81ea732aa9b3ab36db5f565def /pkgs/applications/misc/galculator | |
parent | e82baf043e25abbb354c7ab4415a40a4155df398 (diff) | |
download | nixpkgs-bf7847ec7c3a11a4ccc03d72f995d78fb8133add.tar nixpkgs-bf7847ec7c3a11a4ccc03d72f995d78fb8133add.tar.gz nixpkgs-bf7847ec7c3a11a4ccc03d72f995d78fb8133add.tar.bz2 nixpkgs-bf7847ec7c3a11a4ccc03d72f995d78fb8133add.tar.lz nixpkgs-bf7847ec7c3a11a4ccc03d72f995d78fb8133add.tar.xz nixpkgs-bf7847ec7c3a11a4ccc03d72f995d78fb8133add.tar.zst nixpkgs-bf7847ec7c3a11a4ccc03d72f995d78fb8133add.zip |
galculator: 2.1.3 -> 2.1.4 (#24230)
Diffstat (limited to 'pkgs/applications/misc/galculator')
-rw-r--r-- | pkgs/applications/misc/galculator/default.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/applications/misc/galculator/default.nix b/pkgs/applications/misc/galculator/default.nix index 5d5f83a2370..44071b32875 100644 --- a/pkgs/applications/misc/galculator/default.nix +++ b/pkgs/applications/misc/galculator/default.nix @@ -1,17 +1,20 @@ -{ stdenv, fetchurl -, intltool, pkgconfig, gtk }: +{ stdenv, fetchFromGitHub +, autoreconfHook, intltool +, gtk, pkgconfig, flex }: stdenv.mkDerivation rec { - name = "galculator-${version}"; - version = "2.1.3"; + version = "2.1.4"; - src = fetchurl { - url = "mirror://sourceforge/galculator/${name}.tar.gz"; - sha256 = "12m7dldjk10lpkdxk7zpk98n32ci65zmxidghihb7n1m3rhp3q17"; + src = fetchFromGitHub { + owner = "galculator"; + repo = "galculator"; + rev = "v${version}"; + sha256 = "0q0hb62f266709ncyq96bpx4a40a1i6dc5869byvd7x285sx1c2w"; }; - buildInputs = [ intltool pkgconfig gtk ]; + nativeBuildInputs = [ autoreconfHook intltool pkgconfig ]; + buildInputs = [ gtk flex ]; meta = with stdenv.lib; { description = "A GTK 2/3 algebraic and RPN calculator"; |