python3Packages.music-tag: init at 0.4.3

This commit is contained in:
Jonas Heinrich 2023-07-26 10:08:05 +02:00
parent 446c03f5d8
commit 6852867140
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, mutagen
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "music-tag";
version = "0.4.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Cqtubu2o3w9TFuwtIZC9dFYbfgNWKrCRzo1Wh828//Y=";
};
propagatedBuildInputs = [
mutagen
];
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [ "test" ];
# Tests fail: ModuleNotFoundError: No module named '_test_common'
doCheck = false;
pythonImportsCheck = [
"music_tag"
];
meta = with lib; {
description = "Simple interface to edit audio file metadata";
homepage = "https://github.com/KristoforMaynard/music-tag";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}

View file

@ -6710,6 +6710,8 @@ self: super: with self; {
musicbrainzngs = callPackage ../development/python-modules/musicbrainzngs { };
music-tag = callPackage ../development/python-modules/music-tag { };
mutag = callPackage ../development/python-modules/mutag { };
mutagen = callPackage ../development/python-modules/mutagen { };