2016-06-19 08:33:45 -07:00
|
|
|
{ stdenv, fetchurl, intltool, autoreconfHook, pkgconfig, libqalculate, gtk3, wrapGAppsHook }:
|
2016-07-09 04:11:02 -07:00
|
|
|
|
2015-08-31 10:20:03 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "qalculate-gtk-${version}";
|
2016-08-28 01:40:33 -07:00
|
|
|
version = "0.9.9";
|
2015-08-31 10:20:03 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-06-19 08:33:45 -07:00
|
|
|
url = "https://github.com/Qalculate/qalculate-gtk/archive/v${version}.tar.gz";
|
2016-08-28 01:40:33 -07:00
|
|
|
sha256 = "0v9ibycilygmi9zzi7cxif7si56c85lfzdvbqnbf32whg8ydqqkg";
|
2015-08-31 10:20:03 -07:00
|
|
|
};
|
|
|
|
|
2016-02-26 09:38:15 -08:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-12 08:16:52 -08:00
|
|
|
|
2016-06-19 08:33:45 -07:00
|
|
|
nativeBuildInputs = [ intltool pkgconfig autoreconfHook wrapGAppsHook ];
|
|
|
|
buildInputs = [ libqalculate gtk3 ];
|
2015-08-31 10:20:03 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The ultimate desktop calculator";
|
2016-06-19 08:33:45 -07:00
|
|
|
homepage = http://qalculate.github.io;
|
2015-08-31 10:20:03 -07:00
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|