diff options
author | AndersonTorres <torres.anderson.85@gmail.com> | 2014-05-24 13:19:47 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@gmail.com> | 2014-05-24 13:33:28 -0300 |
commit | 956a01298828079012249c549773c19a89393260 (patch) | |
tree | 9f372da23865db9576031662e052713a1aab274b /pkgs/applications/misc/galculator/default.nix | |
parent | 056bd4fdba4a879fbcc58c4b17a5e32352b0fdee (diff) | |
download | nixpkgs-956a01298828079012249c549773c19a89393260.tar nixpkgs-956a01298828079012249c549773c19a89393260.tar.gz nixpkgs-956a01298828079012249c549773c19a89393260.tar.bz2 nixpkgs-956a01298828079012249c549773c19a89393260.tar.lz nixpkgs-956a01298828079012249c549773c19a89393260.tar.xz nixpkgs-956a01298828079012249c549773c19a89393260.tar.zst nixpkgs-956a01298828079012249c549773c19a89393260.zip |
Galculator: add version 2.3.1
Galculator is a GTK full-fledged calculator.
Diffstat (limited to 'pkgs/applications/misc/galculator/default.nix')
-rw-r--r-- | pkgs/applications/misc/galculator/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/misc/galculator/default.nix b/pkgs/applications/misc/galculator/default.nix new file mode 100644 index 00000000000..010f75a575e --- /dev/null +++ b/pkgs/applications/misc/galculator/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl +, intltool, pkgconfig, gtk + }: + +stdenv.mkDerivation rec { + + name = "galculator-${version}"; + version = "2.1.3"; + + src = fetchurl { + url = "http://downloads.sourceforge.net/galculator/${name}.tar.gz"; + sha256 = "12m7dldjk10lpkdxk7zpk98n32ci65zmxidghihb7n1m3rhp3q17"; + }; + + buildInputs = [ intltool pkgconfig gtk ]; + + meta = { + description = "A GTK 2/3 algebraic and RPN calculator"; + longDescription = '' + galculator is a GTK 2 / GTK 3 based calculator. Its main features include: + + - Algebraic, RPN (Reverse Polish Notation), Formula Entry and Paper modes; + - Basic and Scientific Modes + - Decimal, hexadecimal, octal and binary number base + - Radiant, degree and grad support + - User defined constants and functions + - A bunch of common functions + - Binary arithmetic of configurable bit length and signedness + - Quad-precision floating point arithmetic, and 112-bit binary arithmetic + ''; + homepage = http://galculator.sourceforge.net/; + license = stdenv.lib.licenses.gpl2Plus; + maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; + }; +} |