1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 audioop-lts,
7 pytestCheckHook,
8}:
9buildPythonPackage rec {
10 pname = "standard-sunau";
11 version = "3.13.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "youknowone";
16 repo = "python-deadlib";
17 tag = "v${version}";
18 hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg=";
19 };
20
21 sourceRoot = "${src.name}/sunau";
22
23 build-system = [
24 setuptools
25 ];
26
27 dependencies = [
28 audioop-lts
29 ];
30
31 pythonImportsCheck = [ "sunau" ];
32
33 nativeCheckInputs = [ pytestCheckHook ];
34
35 meta = {
36 description = "Standard library sunau redistribution";
37 homepage = "https://github.com/youknowone/python-deadlib/tree/main/sunau";
38 license = lib.licenses.psfl;
39 maintainers = with lib.maintainers; [ ];
40 };
41}