@@ -0,0 +1,26 @@
1+{ stdenv, fetchFromGitHub, cmake, pkg-config, mpd_clientlib, meson, ninja }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "ashuffle";
5+ version = "3.4.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "joshkunz";
9+ repo = "ashuffle";
10+ rev = "v${version}";
11+ sha256 = "09q6lwgc1dc8bg1mb9js9qz3xcsxph3548nxzvyb4v8111gixrp7";
12+ fetchSubmodules = true;
13+ };
14+
15+ dontUseCmakeConfigure = true;
16+ nativeBuildInputs = [ cmake pkg-config meson ninja ];
17+ buildInputs = [ mpd_clientlib ];
18+
19+ meta = with stdenv.lib; {
20+ homepage = "https://github.com/joshkunz/ashuffle";
21+ description = "Automatic library-wide shuffle for mpd";
22+ maintainers = [ maintainers.tcbravo ];
23+ platforms = platforms.unix;
24+ license = licenses.mit;
25+ };
26+}