calc: nixpkgs-review fixes

This commit is contained in:
Thomas Bereknyei 2021-02-21 23:51:06 -05:00 committed by tomberek
parent 840822c280
commit d3833fbe25

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-yKe4PASm7qWH/nYv8BtYbi9m3xPpA0SZ02Hahj8DJC8=";
};
patchPhase = ''
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}'
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "C-style arbitrary precision calculator";
homepage = "http://www.isthe.com/chongo/tech/comp/calc/";
license = licenses.lgpl21;
license = licenses.lgpl21Only;
maintainers = with maintainers; [ matthewbauer ];
platforms = platforms.all;
};