nixpkgs/pkgs/applications/audio/ashuffle/default.nix

35 lines
730 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, meson
, ninja
, libmpdclient
}:
2020-05-29 20:41:27 +00:00
stdenv.mkDerivation rec {
pname = "ashuffle";
2021-02-17 16:16:43 +00:00
version = "3.10.1";
2020-05-29 20:41:27 +00:00
src = fetchFromGitHub {
owner = "joshkunz";
repo = "ashuffle";
rev = "v${version}";
2021-02-17 16:16:43 +00:00
sha256 = "103jhajqwryiaf52qqgshajcnsxsz4l8gn3sz6bxs7k0yq5x1knr";
2020-05-29 20:41:27 +00:00
fetchSubmodules = true;
};
dontUseCmakeConfigure = true;
nativeBuildInputs = [ cmake pkg-config meson ninja ];
buildInputs = [ libmpdclient ];
2020-05-29 20:41:27 +00:00
meta = with lib; {
2020-05-29 20:41:27 +00:00
homepage = "https://github.com/joshkunz/ashuffle";
description = "Automatic library-wide shuffle for mpd";
maintainers = [ maintainers.tcbravo ];
platforms = platforms.unix;
license = licenses.mit;
};
}