From 37961c65073de7d642d66ea91c66977d8e537e5e Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Wed, 12 Sep 2018 20:34:17 +0200 Subject: [PATCH] scdoc: 1.4.1 -> 1.4.2 --- pkgs/tools/typesetting/scdoc/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/typesetting/scdoc/default.nix b/pkgs/tools/typesetting/scdoc/default.nix index 16b7a734c22d..bdf074b558e7 100644 --- a/pkgs/tools/typesetting/scdoc/default.nix +++ b/pkgs/tools/typesetting/scdoc/default.nix @@ -2,17 +2,19 @@ stdenv.mkDerivation rec { name = "scdoc-${version}"; - version = "1.4.1"; + version = "1.4.2"; src = fetchurl { url = "https://git.sr.ht/~sircmpwn/scdoc/snapshot/scdoc-${version}.tar.xz"; - sha256 = "14nabq1hrz5jvilx22yxbqjsd9s4ll0fnl750n1qbyyxw2m6vj9b"; + sha256 = "1hhvg9cifx1v8b5i91lgq5cjdcskzl3rz7vwmwdq7ad0nqnykz82"; }; postPatch = '' substituteInPlace Makefile \ --replace "-static" "" \ --replace "/usr/local" "$out" + # It happens from time to time that the version wasn't updated: + sed -iE 's/VERSION=[0-9]\.[0-9]\.[0-9]/VERSION=${version}/' Makefile ''; doCheck = true;