python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / pytaglib / default.nix
blob87bb086a72118073b321c1d6f89405940a4493ef
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   taglib,
6   cython,
7   pytestCheckHook,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "pytaglib";
13   version = "2.1.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "supermihi";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-b3ODsG5rdSJ1Tq/0DARf99gHgWWGaArBFAjqeK3mvsY=";
23   };
25   buildInputs = [
26     cython
27     taglib
28   ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   pythonImportsCheck = [ "taglib" ];
34   meta = with lib; {
35     description = "Python bindings for the Taglib audio metadata library";
36     mainProgram = "pyprinttags";
37     homepage = "https://github.com/supermihi/pytaglib";
38     changelog = "https://github.com/supermihi/pytaglib/blob/v${version}/CHANGELOG.md";
39     license = licenses.gpl3Plus;
40     maintainers = with maintainers; [ mrkkrp ];
41   };