Fabian Affolter e58434f1d2 python313Packages.mediafile: 0.12.0 -> 0.13.0
Diff: beetbox/mediafile@refs/tags/v0.12.0...v0.13.0

Changelog: https://github.com/beetbox/mediafile/releases/tag/v0.13.0
2025-03-23 14:38:15 +01:00

45 lines
918 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
filetype,
mutagen,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "mediafile";
version = "0.13.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "beetbox";
repo = "mediafile";
tag = "v${version}";
hash = "sha256-Knp91nVPFkE2qYSZoWcOsMBNY+OBfWCPPNn+T1L8v0o=";
};
build-system = [ flit-core ];
dependencies = [
filetype
mutagen
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mediafile" ];
meta = with lib; {
description = "Python interface to the metadata tags for many audio file formats";
homepage = "https://github.com/beetbox/mediafile";
changelog = "https://github.com/beetbox/mediafile/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ lovesegfault ];
};
}