summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/standard-sunau/default.nix
blob: 86f131e49d500983e53ba1b71570e430060576b1 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  audioop-lts,
  pytestCheckHook,
}:
buildPythonPackage rec {
  pname = "standard-sunau";
  version = "3.13.0";
  pyproject = true;

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

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

  build-system = [
    setuptools
  ];

  dependencies = [
    audioop-lts
  ];

  pythonImportsCheck = [ "sunau" ];

  nativeCheckInputs = [ pytestCheckHook ];

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