From 34175e7d69d204f5ff8aeb16bf3996fef2945e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 31 Aug 2016 11:56:24 +0200 Subject: [PATCH] sct: backport #17163 --- pkgs/tools/X11/sct/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/X11/sct/default.nix b/pkgs/tools/X11/sct/default.nix index 4bf62e53f55b..90c124cef2cb 100644 --- a/pkgs/tools/X11/sct/default.nix +++ b/pkgs/tools/X11/sct/default.nix @@ -4,7 +4,14 @@ stdenv.mkDerivation rec { buildInputs = [libX11 libXrandr]; src = fetchurl { url = http://www.tedunangst.com/flak/files/sct.c; - sha256 = "1bivy0sl5v1jsq4jbq6p9hplz6cvw4nx9rc96p2kxsg506rqllc5"; + sha256 = "01f3ndx3s6d2qh2xmbpmhd4962dyh8yp95l87xwrs4plqdz6knhd"; + + # Discussion regarding the checksum and the source code can be found in issue #17163 + # The code seems unmaintained, yet an unknown (probably small change) in the code caused + # failed builds as the checksum had changed. + # The checksum is updated for now, however, this is unpractical and potentially unsafe + # so any future changes might warrant a fork of the (feature complete) project. + # The code is under public domain. }; phases = ["patchPhase" "buildPhase" "installPhase"]; patchPhase = ''