nixpkgs/pkgs/tools/audio/mpd-sima/default.nix

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

40 lines
752 B
Nix
Raw Normal View History

2023-03-05 03:38:35 +03:00
{ lib
, buildPythonApplication
, fetchFromGitLab
, python-musicpd
, requests}:
buildPythonApplication rec {
pname = "mpd-sima";
version = "0.18.2";
src = fetchFromGitLab {
owner = "kaliko";
repo = "sima";
rev = version;
sha256 = "sha256-lMvM1EqS1govhv4B2hJzIg5DFQYgEr4yJJtgOQxnVlY=";
};
format = "setuptools";
propagatedBuildInputs = [
requests
python-musicpd
];
doCheck = true;
preCheck = ''
export HOME="$(mktemp -d)"
'';
meta = with lib; {
description = "Autoqueuing mpd client";
2023-03-05 03:38:35 +03:00
homepage = "https://kaliko.me/mpd-sima/";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with lib.maintainers; [ apfelkuchen6 ];
2023-11-24 00:09:35 +03:00
mainProgram = "mpd-sima";
2023-03-05 03:38:35 +03:00
};
}