Merge pull request from Sigmanificient/tinytag

python3Packages.tinytag: init at 1.10.1
This commit is contained in:
OTABI Tomoya 2024-08-03 23:45:00 +09:00 committed by GitHub
commit 506a38a10d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 35 additions and 0 deletions
pkgs
development/python-modules/tinytag
top-level

View File

@ -0,0 +1,33 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "tinytag";
version = "1.10.1";
pyproject = true;
src = fetchFromGitHub {
owner = "tinytag";
repo = "tinytag";
rev = "refs/tags/${version}";
hash = "sha256-Kg67EwDIi/Io7KKnNiqPzQKginrfuE6FAeOCjFgEJkY=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "tinytag" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Read audio file metadata";
homepage = "https://github.com/tinytag/tinytag";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}

View File

@ -15575,6 +15575,8 @@ self: super: with self; {
tinysegmenter = callPackage ../development/python-modules/tinysegmenter { };
tinytag = callPackage ../development/python-modules/tinytag { };
tinytuya = callPackage ../development/python-modules/tinytuya { };
titlecase = callPackage ../development/python-modules/titlecase { };