summary refs log tree commit diff
path: root/pkgs/applications/misc/orpie/default.nix
blob: e404da974c46f4f61a2cd8f311fcb4b0a31eb831 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, ocamlPackages, ncurses, gsl }:

stdenv.mkDerivation rec {
  pname = "orpie";
  version = "1.5.2";

  src = fetchurl {
    url = "http://pessimization.com/software/orpie/${pname}-${version}.tar.gz";
    sha256 = "0v9xgpcf186ni55rkmx008msyszw0ypd6rd98hgwpih8yv3pymfy";
  };

  buildInputs = [ ncurses gsl ] ++ (with ocamlPackages; [ ocaml camlp4 ]);

  meta = {
    homepage = https://github.com/pelzlpj/orpie;
    description = "A fullscreen RPN calculator for the console";
    license = stdenv.lib.licenses.gpl2;
    platforms = stdenv.lib.platforms.all;
    maintainers = with stdenv.lib.maintainers; [ obadz ];
  };
}