Files
nixpkgs/pkgs/by-name/as/ashuffle/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

52 lines
987 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
meson,
ninja,
libmpdclient,
yaml-cpp,
}:
stdenv.mkDerivation rec {
pname = "ashuffle";
version = "3.14.9";
src = fetchFromGitHub {
owner = "joshkunz";
repo = "ashuffle";
tag = "v${version}";
hash = "sha256-HQ4+vyTvX0mhfuRclbiC+MvllV3300ztAwL0IxrUiC8=";
fetchSubmodules = true;
};
dontUseCmakeConfigure = true;
nativeBuildInputs = [
cmake
pkg-config
meson
ninja
];
buildInputs = [
libmpdclient
yaml-cpp
];
mesonFlags = [ "-Dunsupported_use_system_yamlcpp=true" ];
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_LDFLAGS = "-framework CoreFoundation";
};
meta = with lib; {
homepage = "https://github.com/joshkunz/ashuffle";
description = "Automatic library-wide shuffle for mpd";
maintainers = [ maintainers.tcbravo ];
platforms = platforms.unix;
license = licenses.mit;
mainProgram = "ashuffle";
};
}