Merge pull request #148620 from fabaff/bump-mediafile

python3Packages.mediafile: 0.8.1 -> 0.9.0
This commit is contained in:
Fabian Affolter 2021-12-06 23:28:23 +01:00 committed by GitHub
commit e3444e55cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,46 @@
{ buildPythonPackage
, fetchPypi
, lib
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, mutagen
, pytestCheckHook
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "mediafile";
version = "0.8.1";
version = "0.9.0";
format = "flit";
src = fetchPypi {
inherit pname version;
sha256 = "878ccc378b77f2d6c175abea135ea25631f28c722e01e1a051924d962ebea165";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "beetbox";
repo = pname;
rev = "v${version}";
sha256 = "sha256-S90BgjKXpE4kAR0mPXgacmr2A+0hrkGpHRMeuvyFNCg=";
};
propagatedBuildInputs = [ mutagen six ];
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
mutagen
six
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"mediafile"
];
meta = with lib; {
description = "MediaFile is a simple interface to the metadata tags for many audio file formats.";
description = "Python interface to the metadata tags for many audio file formats";
homepage = "https://github.com/beetbox/mediafile";
license = licenses.mit;
maintainers = with maintainers; [ lovesegfault ];