1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/audio/ashuffle/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
931 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, meson
, ninja
, libmpdclient
, yaml-cpp
2024-01-15 20:25:41 +00:00
, darwin
}:
2020-05-29 21:41:27 +01:00
stdenv.mkDerivation rec {
pname = "ashuffle";
2024-03-05 12:19:17 +00:00
version = "3.14.7";
2020-05-29 21:41:27 +01:00
src = fetchFromGitHub {
owner = "joshkunz";
repo = "ashuffle";
rev = "v${version}";
2024-03-05 12:19:17 +00:00
hash = "sha256-id55Ss/7PLBPn55RikAlqr3VkNzgm8NiL/ruFGAmH30=";
2020-05-29 21:41:27 +01:00
fetchSubmodules = true;
};
dontUseCmakeConfigure = true;
nativeBuildInputs = [ cmake pkg-config meson ninja ];
2024-01-15 20:25:41 +00:00
buildInputs = [ libmpdclient yaml-cpp ]
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreFoundation ];
2022-11-07 05:20:12 +00:00
mesonFlags = [ "-Dunsupported_use_system_yamlcpp=true" ];
2020-05-29 21:41:27 +01:00
meta = with lib; {
2020-05-29 21:41:27 +01:00
homepage = "https://github.com/joshkunz/ashuffle";
description = "Automatic library-wide shuffle for mpd";
maintainers = [ maintainers.tcbravo ];
platforms = platforms.unix;
license = licenses.mit;
2024-02-11 02:19:15 +00:00
mainProgram = "ashuffle";
2020-05-29 21:41:27 +01:00
};
}