From 6b42cd852a5ac50117f9d59564fa6a6e23cd9dc3 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Mon, 31 Aug 2015 19:20:03 +0200 Subject: [PATCH] qalculate-gtk: init at 0.9.7 --- .../science/math/qalculate-gtk/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/applications/science/math/qalculate-gtk/default.nix diff --git a/pkgs/applications/science/math/qalculate-gtk/default.nix b/pkgs/applications/science/math/qalculate-gtk/default.nix new file mode 100644 index 000000000000..6bc5d874bc0d --- /dev/null +++ b/pkgs/applications/science/math/qalculate-gtk/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, intltool, pkgconfig, libqalculate, gtk, gnome2 }: +stdenv.mkDerivation rec { + name = "qalculate-gtk-${version}"; + version = "0.9.7"; + + src = fetchurl { + url = "mirror://sourceforge/qalculate/${name}.tar.gz"; + sha256 = "0b986x5yny9vrzgxlbyg80b23mxylxv2zz8ppd9svhva6vi8xsm4"; + }; + + nativeBuildInputs = [ intltool pkgconfig ]; + buildInputs = [ libqalculate gtk gnome2.libglade gnome2.libgnome gnome2.scrollkeeper ]; + + meta = with stdenv.lib; { + description = "The ultimate desktop calculator"; + homepage = http://qalculate.sourceforge.net; + maintainers = with maintainers; [ gebner ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1ddc47146938..02fb5d58d751 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2785,6 +2785,8 @@ let ocz-ssd-guru = callPackage ../tools/misc/ocz-ssd-guru { }; + qalculate-gtk = callPackage ../applications/science/math/qalculate-gtk { }; + qastools = callPackage ../tools/audio/qastools { qt = qt4; };