17 buildPythonPackage rec {
18 pname = "audio-metadata";
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
25 owner = "thebigmunch";
26 repo = "audio-metadata";
27 rev = "refs/tags/${version}";
28 hash = "sha256-5ZX4HwbuB9ZmFfHuxaMCrn3R7/znuDsoyqqLql2Nizg=";
32 # Switch to poetry-core, https://github.com/thebigmunch/audio-metadata/pull/41
34 name = "switch-to-poetry-core.patch";
35 url = "https://github.com/thebigmunch/audio-metadata/commit/dfe91a69ee37e9dcefb692165eb0f9cd36a7e5b8.patch";
36 hash = "sha256-ut3mqgZQu0YFbsTEA13Ch0+aSNl17ndMV0fuIu3n5tc=";
45 build-system = [ poetry-core ];
47 nativeBuildInputs = [ pythonRelaxDepsHook ];
58 # Tests require ward which is not ready to be used
61 pythonImportsCheck = [ "audio_metadata" ];
64 description = "Library for handling the metadata from audio files";
65 homepage = "https://github.com/thebigmunch/audio-metadata";
66 changelog = "https://github.com/thebigmunch/audio-metadata/blob/${version}/CHANGELOG.md";
67 license = licenses.mit;
68 maintainers = with maintainers; [ jakewaksbaum ];