mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
orpie: 1.5.2 → 1.6.1
This commit is contained in:
parent
b3910a583c
commit
c0ab50b741
@ -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 ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -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 { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user