wcc: 2018-04-05 -> 0.0.7-unstable-2025-01-13 (#374840)

authored by

Jörg Thalheim and committed by
GitHub
20d2e6da 48c41b57

+7 -7
+7 -7
pkgs/by-name/wc/wcc/package.nix
··· 11 12 stdenv.mkDerivation { 13 pname = "wcc-unstable"; 14 - version = "2018-04-05"; 15 16 src = fetchFromGitHub { 17 owner = "endrazine"; 18 repo = "wcc"; 19 - rev = "f141963ff193d7e1931d41acde36d20d7221e74f"; 20 - sha256 = "1f0w869x0176n5nsq7m70r344gv5qvfmk7b58syc0jls8ghmjvb4"; 21 fetchSubmodules = true; 22 }; 23 ··· 39 installFlags = [ "DESTDIR=$(out)" ]; 40 41 preInstall = '' 42 - mkdir -p $out/usr/bin 43 ''; 44 45 postInstall = '' ··· 49 cp doc/manpages/*.1 $out/share/man/man1/ 50 ''; 51 52 - preFixup = '' 53 - # Let patchShebangs rewrite shebangs with wsh. 54 - PATH+=:$out/bin 55 ''; 56 57 enableParallelBuilding = true;
··· 11 12 stdenv.mkDerivation { 13 pname = "wcc-unstable"; 14 + version = "0.0.7-unstable-2025-01-13"; 15 16 src = fetchFromGitHub { 17 owner = "endrazine"; 18 repo = "wcc"; 19 + rev = "fe1f71d7f6c756e196b82a884dc38bb8f8aef4d3"; 20 + sha256 = "sha256-Kb9QIL+W0JFdfweqZL05OajXGGqXn6e6Jv3IVCr3BwQ="; 21 fetchSubmodules = true; 22 }; 23 ··· 39 installFlags = [ "DESTDIR=$(out)" ]; 40 41 preInstall = '' 42 + mkdir -p $out/usr/bin $out/lib/x86_64-linux-gnu 43 ''; 44 45 postInstall = '' ··· 49 cp doc/manpages/*.1 $out/share/man/man1/ 50 ''; 51 52 + postFixup = '' 53 + # not detected by patchShebangs 54 + substituteInPlace $out/bin/wcch --replace-fail '#!/usr/bin/wsh' "#!$out/bin/wsh" 55 ''; 56 57 enableParallelBuilding = true;