lms: 3.58.0 -> 3.60.0

This commit is contained in:
mksafavi 2024-11-01 05:13:28 +03:30
parent 740d79fe4d
commit 7c8593086c

View File

@ -22,13 +22,13 @@
stdenv.mkDerivation rec {
pname = "lms";
version = "3.58.0";
version = "3.60.0";
src = fetchFromGitHub {
owner = "epoupon";
repo = "lms";
rev = "v${version}";
hash = "sha256-sWlD/n9Qjwiu/UfZrxRxwv2rc4XwRZN35fyjIriGZPY=";
hash = "sha256-sLs73356BaFbKtyQc4cTFm7Wp/UemH8J+tkajXAA0do=";
};
strictDeps = true;
@ -54,10 +54,7 @@ stdenv.mkDerivation rec {
];
postPatch = ''
substituteInPlace src/lms/main.cpp --replace-fail "/etc/lms.conf" "$out/share/lms/lms.conf"
substituteInPlace src/tools/recommendation/LmsRecommendation.cpp --replace-fail "/etc/lms.conf" "$out/share/lms/lms.conf"
substituteInPlace src/tools/db-generator/LmsDbGenerator.cpp --replace-fail "/etc/lms.conf" "$out/share/lms/lms.conf"
substituteInPlace src/tools/cover/LmsCover.cpp --replace-fail "/etc/lms.conf" "$out/share/lms/lms.conf"
substituteInPlace src/libs/core/include/core/SystemPaths.hpp --replace-fail "/etc" "$out/share/lms"
'';
postInstall = ''