Merge pull request #321876 from r-ryantm/auto-update/libcs50

libcs50: 11.0.2 -> 11.0.3
This commit is contained in:
Nick Cao 2024-06-23 09:39:39 -04:00 committed by GitHub
commit c23ea937ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libcs50";
version = "11.0.2";
version = "11.0.3";
src = fetchFromGitHub {
owner = "cs50";
repo = "libcs50";
rev = "v${finalAttrs.version}";
hash = "sha256-A4CEU5wfwykVTDIsKZnQ8co+6RwBGYGZEZxRFzQTKBI=";
hash = "sha256-G6QayPGR4lkeFuUYsFszekLAzzpA3hhIRmqt/OB0cdY=";
};
installPhase = ''
@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
mkdir $out
cp -R build/lib $out/lib
cp -R build/include $out/include
ln -sf $out/lib/libcs50.so.11.0.2 $out/lib/libcs50.so.11
ln -sf $out/lib/libcs50.so.11.0.3 $out/lib/libcs50.so.11
runHook postInstall
'';