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

24 lines
718 B
Nix
Raw Normal View History

{ stdenv, fetchurl, intltool, autoreconfHook, pkgconfig, libqalculate, gtk3, wrapGAppsHook }:
2015-08-31 17:20:03 +00:00
stdenv.mkDerivation rec {
name = "qalculate-gtk-${version}";
version = "0.9.9";
2015-08-31 17:20:03 +00:00
src = fetchurl {
url = "https://github.com/Qalculate/qalculate-gtk/archive/v${version}.tar.gz";
sha256 = "0v9ibycilygmi9zzi7cxif7si56c85lfzdvbqnbf32whg8ydqqkg";
2015-08-31 17:20:03 +00:00
};
hardeningDisable = [ "format" ];
nativeBuildInputs = [ intltool pkgconfig autoreconfHook wrapGAppsHook ];
buildInputs = [ libqalculate gtk3 ];
2015-08-31 17:20:03 +00:00
meta = with stdenv.lib; {
description = "The ultimate desktop calculator";
homepage = http://qalculate.github.io;
2015-08-31 17:20:03 +00:00
maintainers = with maintainers; [ gebner ];
platforms = platforms.all;
};
}