Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
918 B
Nix
53 lines
918 B
Nix
{
|
|
lib,
|
|
buildPythonApplication,
|
|
fetchFromGitLab,
|
|
python-musicpd,
|
|
requests,
|
|
sphinxHook,
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "mpd-sima";
|
|
version = "0.18.2";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "kaliko";
|
|
repo = "sima";
|
|
rev = version;
|
|
hash = "sha256-lMvM1EqS1govhv4B2hJzIg5DFQYgEr4yJJtgOQxnVlY=";
|
|
};
|
|
|
|
format = "setuptools";
|
|
|
|
postPatch = ''
|
|
sed -i '/intersphinx/d' doc/source/conf.py
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
sphinxHook
|
|
];
|
|
|
|
sphinxBuilders = [ "man" ];
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
python-musicpd
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
preCheck = ''
|
|
export HOME="$(mktemp -d)"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Autoqueuing mpd client";
|
|
homepage = "https://kaliko.me/mpd-sima/";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with lib.maintainers; [ apfelkuchen6 ];
|
|
mainProgram = "mpd-sima";
|
|
};
|
|
}
|