python3Packages.standard-sndhdr: init at 3.13.0

This commit is contained in:
Robert Schütz
2025-10-20 10:41:50 -07:00
parent 0274b44151
commit c630f97390
2 changed files with 48 additions and 0 deletions
@@ -0,0 +1,42 @@
{
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
View File
@@ -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;