2021-02-12 12:30:45 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, libmpdclient
|
|
|
|
}:
|
2020-05-29 22:41:27 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ashuffle";
|
2021-12-06 02:45:34 +01:00
|
|
|
version = "3.12.5";
|
2020-05-29 22:41:27 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joshkunz";
|
|
|
|
repo = "ashuffle";
|
|
|
|
rev = "v${version}";
|
2021-12-06 02:45:34 +01:00
|
|
|
sha256 = "sha256-dPgv6EzRxRdHkGvys601Bkg9Srd8oEjoE9jbAin74Vk=";
|
2020-05-29 22:41:27 +02:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
nativeBuildInputs = [ cmake pkg-config meson ninja ];
|
2021-02-12 12:30:45 +01:00
|
|
|
buildInputs = [ libmpdclient ];
|
2020-05-29 22:41:27 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-05-29 22:41:27 +02:00
|
|
|
homepage = "https://github.com/joshkunz/ashuffle";
|
|
|
|
description = "Automatic library-wide shuffle for mpd";
|
|
|
|
maintainers = [ maintainers.tcbravo ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|