Files
nixpkgs/pkgs/by-name/mu/museeks/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

61 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchurl,
dpkg,
autoPatchelfHook,
webkitgtk_4_1,
libsoup_3,
glib,
gtk3,
cairo,
dbus,
gdk-pixbuf,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "museeks";
version = "0.23.1";
src = fetchurl {
url = "https://github.com/martpie/museeks/releases/download/${finalAttrs.version}/Museeks_${finalAttrs.version}_amd64.deb";
hash = "sha256-bji49ncJriDGrYoC0VYfblcGPDU66Ep+c/z9FNEXnkI=";
};
nativeBuildInputs = [
dpkg
autoPatchelfHook
];
buildInputs = [
dbus
webkitgtk_4_1
libsoup_3
gtk3
cairo
gdk-pixbuf
glib
(lib.getLib stdenv.cc.cc)
];
installPhase = ''
runHook preInstall
cp -r usr $out
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Simple, clean and cross-platform music player";
homepage = "https://github.com/martpie/museeks";
license = lib.licenses.mit;
platforms = [ "x86_64-linux" ];
maintainers = with lib.maintainers; [ zendo ];
mainProgram = "museeks";
};
})