nixpkgs/pkgs/by-name/me/melodeon/package.nix
2024-09-05 00:01:48 +02:00

43 lines
971 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
cmake,
qt6,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "melodeon";
version = "0.4.1";
src = fetchFromGitHub {
owner = "CDrummond";
repo = "melodeon";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-k74iJ3tmkMGUh4f538tjD7cv4ZXxm3x6M/d5HU25yPQ=";
fetchSubmodules = true;
};
buildInputs = [
qt6.qtbase
qt6.qtwebengine
];
nativeBuildInputs = [
cmake
qt6.wrapQtAppsHook
];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
meta = {
description = "QWebEngine wrapper for MaterialSkin on Lyrion Music Server (formerly Logitech Media Server)";
mainProgram = "melodeon";
homepage = "https://github.com/CDrummond/melodeon";
changelog = "https://github.com/CDrummond/melodeon/releases/tag/${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ edgar-vincent ];
};
})