Commit c630f973 authored by Robert Schütz's avatar Robert Schütz
Browse files

python3Packages.standard-sndhdr: init at 3.13.0

parent 0274b441
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  pytestCheckHook,
  setuptools,
  standard-aifc,
}:

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

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

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

  build-system = [ setuptools ];

  dependencies = [
    standard-aifc
  ];

  pythonImportsCheck = [ "sndhdr" ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    description = "Standard library sndhdr redistribution";
    homepage = "https://github.com/youknowone/python-deadlib/tree/main/sndhdr";
    license = lib.licenses.psfl;
    maintainers = [ lib.maintainers.dotlambda ];
  };
}
+6 −0
Original line number Diff line number Diff line
@@ -17652,6 +17652,12 @@ self: super: with self; {
  standard-pipes =
    if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-pipes { } else null;
  standard-sndhdr =
    if pythonAtLeast "3.13" then
      callPackage ../development/python-modules/standard-sndhdr { }
    else
      null;
  standard-sunau =
    if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-sunau { } else null;