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