nixpkgs/pkgs/development/python-modules/pytaglib/default.nix
2021-05-14 14:37:48 +02:00

38 lines
690 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, taglib
, cython
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytaglib";
version = "1.4.6";
src = fetchFromGitHub {
owner = "supermihi";
repo = pname;
rev = "v${version}";
sha256 = "sha256-UAWXR1MCxEB48n7oQE+L545F+emlU3HErzLX6YTRteg=";
};
buildInputs = [
cython
taglib
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "taglib" ];
meta = with lib; {
description = "Python bindings for the Taglib audio metadata library";
homepage = "https://github.com/supermihi/pytaglib";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ mrkkrp ];
};
}