python314Packages.pyflac: init at 3.0.0

This commit is contained in:
Sandro Jäckel
2026-05-09 04:07:16 +02:00
parent 2db9058c30
commit 4a792e7f4e
2 changed files with 55 additions and 0 deletions
@@ -0,0 +1,53 @@
{
lib,
buildPythonPackage,
cffi,
fetchFromGitHub,
numpy,
pytestCheckHook,
setuptools,
soundfile,
stdenv,
unixtools,
}:
buildPythonPackage (finalAttrs: {
pname = "pyflac";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "sonos";
repo = "pyFLAC";
tag = "v${finalAttrs.version}";
hash = "sha256-PA9ARch1MwBhLlTIIM+pXHc10pg0PM/uEHfwQ5e5MNI=";
};
build-system = [ setuptools ];
dependencies = [
cffi
numpy
soundfile
];
nativeCheckInputs = [
pytestCheckHook
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
unixtools.procps # for sysctl
];
preCheck = ''
rm -r pyflac
'';
pythonImportsCheck = [ "pyflac" ];
meta = {
description = "Wrapper for libFLAC";
homepage = "https://github.com/sonos/pyFLAC/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
})
+2
View File
@@ -13858,6 +13858,8 @@ self: super: with self; {
pyfireservicerota = callPackage ../development/python-modules/pyfireservicerota { };
pyflac = callPackage ../development/python-modules/pyflac { };
pyflakes = callPackage ../development/python-modules/pyflakes { };
pyflexit = callPackage ../development/python-modules/pyflexit { };