2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, intltool, autoreconfHook, pkg-config, libqalculate, gtk3, wrapGAppsHook }:
|
2016-07-09 11:11:02 +00:00
|
|
|
|
2015-08-31 17:20:03 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-03-23 05:56:47 +00:00
|
|
|
pname = "qalculate-gtk";
|
2022-04-10 11:59:30 +00:00
|
|
|
version = "4.1.1";
|
2015-08-31 17:20:03 +00:00
|
|
|
|
2018-07-05 10:33:13 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qalculate";
|
|
|
|
repo = "qalculate-gtk";
|
|
|
|
rev = "v${version}";
|
2022-04-10 11:59:30 +00:00
|
|
|
sha256 = "sha256-itYNKcdWYMoqlvZ7CYJ6WMv7rS/y1SVdt3O7ahkjPOk=";
|
2015-08-31 17:20:03 +00:00
|
|
|
};
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-12 16:16:52 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ intltool pkg-config autoreconfHook wrapGAppsHook ];
|
2016-06-19 15:33:45 +00:00
|
|
|
buildInputs = [ libqalculate gtk3 ];
|
2017-08-29 08:30:10 +00:00
|
|
|
enableParallelBuilding = true;
|
2015-08-31 17:20:03 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-08-31 17:20:03 +00:00
|
|
|
description = "The ultimate desktop calculator";
|
2020-03-08 00:14:22 +00:00
|
|
|
homepage = "http://qalculate.github.io";
|
2021-11-19 07:14:20 +00:00
|
|
|
maintainers = with maintainers; [ gebner doronbehar ];
|
2020-06-26 22:37:44 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2015-08-31 17:20:03 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|