Unverified Commit a8cf5248 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

syrics: init at v0.1.2.0 (#416943)

parents 275c28a6 706aa461
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -27542,6 +27542,15 @@
    githubId = 40352765;
    name = "Yoctocell";
  };
  yogansh = {
    email = "yogansh@yogansh.tech";
    github = "YoganshSharma";
    githubId = 38936915;
    name = "Yogansh Sharma";
    keys = [
      { fingerprint = "D2A8 A906 ACA7 B6D6 575E 9A2F 3A49 5054 6EA6 9E5C"; }
    ];
  };
  yomaq = {
    name = "yomaq";
    github = "yomaq";
+42 −0
Original line number Diff line number Diff line
{
  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";
  };
}