Merge pull request #148620 from fabaff/bump-mediafile
python3Packages.mediafile: 0.8.1 -> 0.9.0
This commit is contained in:
commit
e3444e55cf
1 changed files with 32 additions and 9 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue