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
41 lines
799 B
Nix
41 lines
799 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3Packages,
|
|
}:
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
pname = "yams";
|
|
# nixpkgs-update: no auto update
|
|
version = "0.7.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Berulacks";
|
|
repo = "yams";
|
|
rev = version;
|
|
sha256 = "1zkhcys9i0s6jkaz24an690rvnkv1r84jxpaa84sf46abi59ijh8";
|
|
};
|
|
|
|
build-system = with python3Packages; [ setuptools ];
|
|
|
|
dependencies = with python3Packages; [
|
|
pyyaml
|
|
psutil
|
|
mpd2
|
|
requests
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "yams.scrobble" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Berulacks/yams";
|
|
description = "Last.FM scrobbler for MPD";
|
|
mainProgram = "yams";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ ccellado ];
|
|
};
|
|
}
|