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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
795 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, intltool, autoreconfHook, pkg-config, libqalculate, gtk3, wrapGAppsHook }:
2015-08-31 17:20:03 +00:00
stdenv.mkDerivation rec {
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
};
hardeningDisable = [ "format" ];
nativeBuildInputs = [ intltool pkg-config autoreconfHook wrapGAppsHook ];
buildInputs = [ libqalculate gtk3 ];
2017-08-29 08:30:10 +00:00
enableParallelBuilding = true;
2015-08-31 17:20:03 +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";
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;
};
}