summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/standard-aifc/default.nix
blob: 5ef23d18f82bfda8579c709b61d997ba5ecae416 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  audioop-lts,
  standard-chunk,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "standard-aifc";
  version = "3.13.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "youknowone";
    repo = "python-deadlib";
    tag = "v${version}";
    hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg=";
  };

  sourceRoot = "${src.name}/aifc";

  build-system = [
    setuptools
  ];

  dependencies = [
    audioop-lts
    standard-chunk
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [
    "aifc"
  ];

  meta = {
    description = "Standard library aifc redistribution";
    homepage = "https://github.com/youknowone/python-deadlib/tree/main/aifc";
    license = lib.licenses.psfl;
    maintainers = with lib.maintainers; [ hexa ];
  };
}