Files
nixpkgs/pkgs/by-name/nu/nulloy/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

69 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
which,
pkg-config,
zip,
imagemagick,
qt5,
taglib,
gst_all_1,
}:
stdenv.mkDerivation rec {
pname = "nulloy";
version = "0.9.9";
src = fetchFromGitHub {
owner = "nulloy";
repo = "nulloy";
rev = version;
hash = "sha256-vFg789vBV7ks+4YiWWl3u0/kQjzpAiX8dMfXU0hynDM=";
};
nativeBuildInputs = [
which # used by configure script
pkg-config
zip
imagemagick
qt5.qttools
qt5.wrapQtAppsHook
];
buildInputs = [
qt5.qtscript
qt5.qtsvg
taglib
]
++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
]);
prefixKey = "--prefix ";
enableParallelBuilding = true;
# FIXME: not added by gstreamer setup hook by default
preFixup = ''
qtWrapperArgs+=(
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
)
'';
meta = with lib; {
description = "Music player with a waveform progress bar";
homepage = "https://nulloy.com";
changelog = "https://github.com/nulloy/nulloy/blob/${src.rev}/ChangeLog";
license = licenses.gpl3Only;
mainProgram = "nulloy";
maintainers = with maintainers; [ aleksana ];
platforms = platforms.all;
broken = stdenv.hostPlatform.isDarwin;
};
}