2022-12-02T07:08:18 calc 2.14.1.0 -> 2.14.1.2 https://repology.org/metapackage/calc/versions 2022-12-02T07:08:21 attrpath: calc 2022-12-02T07:08:21 Checking auto update branch... 2022-12-02T07:08:21 An auto update branch exists with message `calc: 2.14.1.0 -> 2.14.1.2`. New version is 2.14.1.2. 2022-12-02T07:08:21 An auto update branch exists with an equal or greater version 2022-12-02T20:04:52 calc 2.14.1.0 -> 2.14.1.2 https://github.com/lcn2/calc/releases 2022-12-02T20:04:54 attrpath: calc 2022-12-02T20:04:54 Checking auto update branch... 2022-12-02T20:04:54 No auto update branch exists 2022-12-02T20:04:55 Old version 2.14.1.0" not present in master derivation file with contents: { stdenv, lib, fetchurl, util-linux, makeWrapper , enableReadline ? true, readline, ncurses }: stdenv.mkDerivation rec { pname = "calc"; version = "2.14.1.2"; src = fetchurl { urls = [ "https://github.com/lcn2/calc/releases/download/v${version}/${pname}-${version}.tar.bz2" "http://www.isthe.com/chongo/src/calc/${pname}-${version}.tar.bz2" ]; sha256 = "sha256-3o8jKmEYxNQtExOkjqTVU24mtSok+T/RnRw6goNzThM="; }; postPatch = '' substituteInPlace Makefile \ --replace '-install_name ''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' \ --replace '-install_name ''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' ''; nativeBuildInputs = [ makeWrapper ]; buildInputs = [ util-linux ] ++ lib.optionals enableReadline [ readline ncurses ]; makeFlags = [ "T=$(out)" "INCDIR=" "BINDIR=/bin" "LIBDIR=/lib" "CALC_SHAREDIR=/share/calc" "CALC_INCDIR=/include" "MANDIR=/share/man/man1" # Handle LDFLAGS defaults in calc "DEFAULT_LIB_INSTALL_PATH=$(out)/lib" ] ++ lib.optionals enableReadline [ "READLINE_LIB=-lreadline" "USE_READLINE=-DUSE_READLINE" ]; meta = with lib; { description = "C-style arbitrary precision calculator"; homepage = "http://www.isthe.com/chongo/tech/comp/calc/"; # The licensing situation depends on readline (see section 3 of the LGPL) # If linked against readline then GPLv2 otherwise LGPLv2.1 license = with licenses; if enableReadline then gpl2Only else lgpl21Only; maintainers = with maintainers; [ matthewbauer ]; platforms = platforms.all; }; }