`buildDotnetModule`: add support for installing pre-release tools (#374663)
[NixPkgs.git] / pkgs / development / python-modules / tinytag / default.nix
blob5f0a7a602588130a83b40da6a2a034a0d7290d93
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   flit-core,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "tinytag";
12   version = "2.0.0";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "tinytag";
17     repo = "tinytag";
18     tag = version;
19     hash = "sha256-HSDEsyM9jGmS0o/EQj0GS/Ur4aepFgv8VpVNoJTyZGA=";
20   };
22   build-system = [
23     setuptools
24     flit-core
25   ];
27   pythonImportsCheck = [ "tinytag" ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   meta = {
32     description = "Read audio file metadata";
33     homepage = "https://github.com/tinytag/tinytag";
34     license = lib.licenses.mit;
35     maintainers = with lib.maintainers; [ sigmanificient ];
36   };