1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/applications/audio/yams/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

31 lines
645 B
Nix

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "yams";
version = "0.7.3";
src = fetchFromGitHub {
owner = "Berulacks";
repo = "yams";
rev = version;
sha256 = "1zkhcys9i0s6jkaz24an690rvnkv1r84jxpaa84sf46abi59ijh8";
};
propagatedBuildInputs = with python3Packages; [
pyyaml
psutil
mpd2
requests
];
doCheck = false;
meta = with lib; {
homepage = "https://github.com/Berulacks/yams";
description = "Last.FM scrobbler for MPD";
mainProgram = "yams";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ccellado ];
};
}