1 { lib, stdenv, fetchurl, mpfr, readline }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/w-calc/${pname}-${version}.tar.bz2";
9 sha256 = "1vi8dl6rccqiq1apmpwawyg2ywx6a1ic1d3cvkf2hlwk1z11fb0f";
12 buildInputs = [ mpfr readline ];
15 description = "A command line calculator";
16 homepage = "https://w-calc.sourceforge.net";
17 license = licenses.gpl2;
18 platforms = platforms.all;
19 mainProgram = "wcalc";