1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

galculator: 2.1.3 -> 2.1.4 (#24230)

This commit is contained in:
ndowens 2017-03-23 10:00:32 -05:00 committed by zimbatm
parent e82baf043e
commit bf7847ec7c

View file

@ -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";