Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytaglib / default.nix
blobe31ea59c546da4a85456bfe6dd673f135a2d2bff
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , taglib
5 , cython
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "pytaglib";
12   version = "2.1.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "supermihi";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-b3ODsG5rdSJ1Tq/0DARf99gHgWWGaArBFAjqeK3mvsY=";
22   };
24   buildInputs = [
25     cython
26     taglib
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "taglib"
35   ];
37   meta = with lib; {
38     description = "Python bindings for the Taglib audio metadata library";
39     mainProgram = "pyprinttags";
40     homepage = "https://github.com/supermihi/pytaglib";
41     changelog = "https://github.com/supermihi/pytaglib/blob/v${version}/CHANGELOG.md";
42     license = licenses.gpl3Plus;
43     maintainers = with maintainers; [ mrkkrp ];
44   };