python3Packages.music-tag: init at 0.4.3
This commit is contained in:
parent
446c03f5d8
commit
6852867140
41
pkgs/development/python-modules/music-tag/default.nix
Normal file
41
pkgs/development/python-modules/music-tag/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue