From e402d09f39acf9b5e7ee2ba20cf15c79e04e25fa Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Thu, 15 Aug 2024 15:41:45 +0200 Subject: [PATCH] rubber: 1.6.0 -> 1.6.6 --- pkgs/tools/typesetting/rubber/default.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/tools/typesetting/rubber/default.nix b/pkgs/tools/typesetting/rubber/default.nix index 2ccee0bae005..641dade6457f 100644 --- a/pkgs/tools/typesetting/rubber/default.nix +++ b/pkgs/tools/typesetting/rubber/default.nix @@ -1,29 +1,29 @@ { lib, stdenv, fetchFromGitLab, python3Packages, texinfo }: -python3Packages.buildPythonApplication rec { +let + pypkgs = python3Packages; + +in +pypkgs.buildPythonApplication rec { pname = "rubber"; - version = "1.6.0"; + version = "1.6.6"; + pyproject = true; src = fetchFromGitLab { owner = "latex-rubber"; repo = "rubber"; rev = version; - hash = "sha256-7sv9N3PES5N41yYyXNWfaZ6IhLW6SqMiCHdamsSPQzg="; + hash = "sha256-C26PN3jyV6qwSjgPem54bykZrpKj+n8iHYYUyR+8dgI="; }; - # I'm sure there is a better way to pass these parameters to the build script... postPatch = '' - substituteInPlace setup.py \ - --replace 'pdf = True' 'pdf = False' \ - --replace '$base/info' 'share/info' \ - --replace '$base/man' 'share/man' \ - --replace '$base/share' 'share' + sed -i -e '/texi2dvi/d' hatch_build.py substituteInPlace tests/run.sh \ - --replace /var/tmp /tmp + --replace-fail /var/tmp /tmp ''; - nativeBuildInputs = [ texinfo ]; + nativeBuildInputs = [ pypkgs.hatchling texinfo ]; checkPhase = '' runHook preCheck