orpie: 1.5.2 → 1.6.1

This commit is contained in:
Vincent Laporte 2020-10-07 06:57:19 +02:00 committed by Vincent Laporte
parent b3910a583c
commit c0ab50b741
2 changed files with 22 additions and 16 deletions

View File

@ -1,21 +1,30 @@
{ stdenv, fetchurl, ocamlPackages, ncurses, gsl }: { lib, fetchFromGitHub, ocamlPackages }:
stdenv.mkDerivation rec { ocamlPackages.buildDunePackage rec {
pname = "orpie"; pname = "orpie";
version = "1.5.2"; version = "1.6.1";
src = fetchurl { src = fetchFromGitHub {
url = "http://pessimization.com/software/orpie/${pname}-${version}.tar.gz"; owner = "pelzlpj";
sha256 = "0v9xgpcf186ni55rkmx008msyszw0ypd6rd98hgwpih8yv3pymfy"; repo = pname;
rev = "release-${version}";
sha256 = "1rx2nl6cdv609pfymnbq53pi3ql5fr4kda8x10ycd9xq2gc4f21g";
}; };
buildInputs = [ ncurses gsl ] ++ (with ocamlPackages; [ ocaml camlp4 ]); preConfigure = ''
patchShebangs scripts
substituteInPlace scripts/compute_prefix \
--replace '"topfind"' \
'"${ocamlPackages.findlib}/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib/topfind"'
export PREFIX=$out
'';
buildInputs = with ocamlPackages; [ curses camlp5 num gsl ];
meta = { meta = {
homepage = "https://github.com/pelzlpj/orpie"; inherit (src.meta) homepage;
description = "A fullscreen RPN calculator for the console"; description = "A Curses-based RPN calculator";
license = stdenv.lib.licenses.gpl2; license = lib.licenses.gpl3Only;
platforms = stdenv.lib.platforms.all; maintainers = with lib.maintainers; [ obadz ];
maintainers = with stdenv.lib.maintainers; [ obadz ];
}; };
} }

View File

@ -22671,10 +22671,7 @@ in
opusTools = callPackage ../applications/audio/opus-tools { }; opusTools = callPackage ../applications/audio/opus-tools { };
orpie = callPackage ../applications/misc/orpie { orpie = callPackage ../applications/misc/orpie { };
gsl = gsl_1;
ocamlPackages = ocaml-ng.ocamlPackages_4_02;
};
osmo = callPackage ../applications/office/osmo { }; osmo = callPackage ../applications/office/osmo { };