python314Packages.pyflac: init at 3.0.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user