From 706aa4615eda33b40f17f162cef9d0cf9f36389b Mon Sep 17 00:00:00 2001 From: Yogansh Sharma Date: Sun, 15 Jun 2025 17:09:12 +0530 Subject: [PATCH] syrics: init at v0.1.2.0 --- pkgs/by-name/sy/syrics/package.nix | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/by-name/sy/syrics/package.nix diff --git a/pkgs/by-name/sy/syrics/package.nix b/pkgs/by-name/sy/syrics/package.nix new file mode 100644 index 000000000000..520b67d3887c --- /dev/null +++ b/pkgs/by-name/sy/syrics/package.nix @@ -0,0 +1,42 @@ +{ + lib, + python3, + fetchFromGitHub, +}: + +python3.pkgs.buildPythonApplication rec { + pname = "syrics"; + version = "0.1.2.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "akashrchandran"; + repo = "syrics"; + tag = "v${version}"; + hash = "sha256-YoH5rgj0kt9fDILc9dTAFO5erOBWexuqT9hY7e6bj6Q="; + }; + + build-system = [ + python3.pkgs.setuptools + python3.pkgs.wheel + ]; + + dependencies = with python3.pkgs; [ + requests + spotipy + tinytag + tqdm + ]; + + pythonImportsCheck = [ + "syrics" + ]; + + meta = { + description = "Command line tool to fetch lyrics from spotify and save it to lrc file"; + homepage = "https://github.com/akashrchandran/syrics/"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ yogansh ]; + mainProgram = "syrics"; + }; +}