thelounge: 4.4.1 -> 4.4.3 (#343550)

This commit is contained in:
Pol Dellaiera 2024-09-26 18:00:45 +02:00 committed by GitHub
commit 2996ede76e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@
, nodejs
, yarn
, fixup-yarn-lock
, python3
, python311
, npmHooks
, cctools
, sqlite
@ -16,13 +16,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "thelounge";
version = "4.4.1";
version = "4.4.3";
src = fetchFromGitHub {
owner = "thelounge";
repo = "thelounge";
rev = "v${finalAttrs.version}";
hash = "sha256-4FdNYP9VLgv/rfvT7KHCF+ABFsZvPbJjfz6IvvDkRNA=";
hash = "sha256-lDbyqVFjhF2etRx31ax7KiQ1QKgVhD8xkTog/E3pUlA=";
};
# Allow setting package path for the NixOS module.
@ -35,10 +35,12 @@ stdenv.mkDerivation (finalAttrs: {
offlineCache = fetchYarnDeps {
yarnLock = "${finalAttrs.src}/yarn.lock";
hash = "sha256-MM6SgVT7Pjdu96A4eWRucEzT7uNPxBqUDgHKl8mH2C0=";
hash = "sha256-csVrgsEy9HjSBXxtgNG0hcBrR9COlcadhMQrw6BWPc4=";
};
nativeBuildInputs = [ nodejs yarn fixup-yarn-lock python3 npmHooks.npmInstallHook ] ++ lib.optional stdenv.hostPlatform.isDarwin cctools;
# Distutils was deprecated in 3.10, and removed in 3.12. This build needs it. An alternative could be adding
# setuptools, but testing with that and 3.12 still fails.
nativeBuildInputs = [ nodejs yarn fixup-yarn-lock python311 npmHooks.npmInstallHook ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools ];
buildInputs = [ sqlite ];
configurePhase = ''