nixpkgs/pkgs/tools/audio/mpd-sima/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

40 lines
752 B
Nix

{ 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";
homepage = "https://kaliko.me/mpd-sima/";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with lib.maintainers; [ apfelkuchen6 ];
mainProgram = "mpd-sima";
};
}