2014-05-24 18:19:47 +02:00
|
|
|
{ stdenv, fetchurl
|
2014-09-10 20:59:54 +02:00
|
|
|
, intltool, pkgconfig, gtk }:
|
2014-05-24 18:19:47 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "galculator-${version}";
|
|
|
|
version = "2.1.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-02-28 13:07:42 +01:00
|
|
|
url = "mirror://sourceforge/galculator/${name}.tar.gz";
|
2014-05-24 18:19:47 +02:00
|
|
|
sha256 = "12m7dldjk10lpkdxk7zpk98n32ci65zmxidghihb7n1m3rhp3q17";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ intltool pkgconfig gtk ];
|
|
|
|
|
2014-09-10 20:59:54 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-24 18:19:47 +02:00
|
|
|
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/;
|
2014-09-10 20:59:54 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
2014-05-24 18:19:47 +02:00
|
|
|
};
|
|
|
|
}
|