12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 hash = "sha256-XnibLlwUspI2aveWfMg/TOe59vK6Z2WEnF7gafUmx6E=";
21 fetchSubmodules = true;
24 dontUseCmakeConfigure = true;
25 nativeBuildInputs = [ cmake pkg-config meson ninja ];
26 buildInputs = [ libmpdclient yaml-cpp ];
28 mesonFlags = [ "-Dunsupported_use_system_yamlcpp=true" ];
30 env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
31 NIX_LDFLAGS = "-framework CoreFoundation";
35 homepage = "https://github.com/joshkunz/ashuffle";
36 description = "Automatic library-wide shuffle for mpd";
37 maintainers = [ maintainers.tcbravo ];
38 platforms = platforms.unix;
39 license = licenses.mit;
40 mainProgram = "ashuffle";