Commit 68528671 authored by Jonas Heinrich's avatar Jonas Heinrich
Browse files

python3Packages.music-tag: init at 0.4.3

parent 446c03f5
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };