nixpkgs/pkgs/applications/science/math/qalculate-gtk/default.nix

28 lines
786 B
Nix
Raw Normal View History

2018-07-05 03:33:13 -07:00
{ stdenv, fetchFromGitHub, intltool, autoreconfHook, pkgconfig, libqalculate, gtk3, wrapGAppsHook }:
2015-08-31 10:20:03 -07:00
stdenv.mkDerivation rec {
pname = "qalculate-gtk";
2020-11-09 17:49:59 -08:00
version = "3.14.0";
2015-08-31 10:20:03 -07:00
2018-07-05 03:33:13 -07:00
src = fetchFromGitHub {
owner = "qalculate";
repo = "qalculate-gtk";
rev = "v${version}";
2020-11-09 17:49:59 -08:00
sha256 = "1pff3m5xnw9kai6n110j1grxzcf2r7pxi76jin1lxhm8q8gmnnz1";
2015-08-31 10:20:03 -07:00
};
hardeningDisable = [ "format" ];
nativeBuildInputs = [ intltool pkgconfig autoreconfHook wrapGAppsHook ];
buildInputs = [ libqalculate gtk3 ];
2017-08-29 01:30:10 -07:00
enableParallelBuilding = true;
2015-08-31 10:20:03 -07:00
meta = with stdenv.lib; {
description = "The ultimate desktop calculator";
2020-03-07 16:14:22 -08:00
homepage = "http://qalculate.github.io";
2015-08-31 10:20:03 -07:00
maintainers = with maintainers; [ gebner ];
2020-06-26 15:37:44 -07:00
license = licenses.gpl2Plus;
2015-08-31 10:20:03 -07:00
platforms = platforms.all;
};
}