Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

sct: backport #17163

+8 -1
+8 -1
pkgs/tools/X11/sct/default.nix
··· 4 buildInputs = [libX11 libXrandr]; 5 src = fetchurl { 6 url = http://www.tedunangst.com/flak/files/sct.c; 7 - sha256 = "1bivy0sl5v1jsq4jbq6p9hplz6cvw4nx9rc96p2kxsg506rqllc5"; 8 }; 9 phases = ["patchPhase" "buildPhase" "installPhase"]; 10 patchPhase = ''
··· 4 buildInputs = [libX11 libXrandr]; 5 src = fetchurl { 6 url = http://www.tedunangst.com/flak/files/sct.c; 7 + sha256 = "01f3ndx3s6d2qh2xmbpmhd4962dyh8yp95l87xwrs4plqdz6knhd"; 8 + 9 + # Discussion regarding the checksum and the source code can be found in issue #17163 10 + # The code seems unmaintained, yet an unknown (probably small change) in the code caused 11 + # failed builds as the checksum had changed. 12 + # The checksum is updated for now, however, this is unpractical and potentially unsafe 13 + # so any future changes might warrant a fork of the (feature complete) project. 14 + # The code is under public domain. 15 }; 16 phases = ["patchPhase" "buildPhase" "installPhase"]; 17 patchPhase = ''