mirror of
https://github.com/milahu/nur-packages.git
synced 2024-09-11 19:37:09 +03:00
python3.pkgs.audalign: init at 1.2.4
This commit is contained in:
parent
d348424f70
commit
1b7061fdca
@ -369,6 +369,8 @@ pkgs.lib.makeScope pkgs.newScope (self: let inherit (self) callPackage; in rec {
|
||||
|
||||
noisereduce = callPackage ./pkgs/python3/pkgs/noisereduce { };
|
||||
|
||||
audalign = callPackage ./pkgs/python3/pkgs/audalign { };
|
||||
|
||||
#}))); # python3.pkgs
|
||||
|
||||
#}))); # python3
|
||||
|
91
pkgs/python3/pkgs/audalign/default.nix
Normal file
91
pkgs/python3/pkgs/audalign/default.nix
Normal file
@ -0,0 +1,91 @@
|
||||
{ lib
|
||||
, python3
|
||||
, ffmpeg
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "audalign";
|
||||
version = "1.2.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "benfmiller";
|
||||
repo = "audalign";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ldB4TxXfkmbTeslwARTjzrra+Xt+NZOeiFwrslIAEPc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# unpin versions
|
||||
sed -i 's/==.*//' requirements.txt
|
||||
# fix import check
|
||||
# fix: cannot cache function 'x': no locator available
|
||||
export NUMBA_CACHE_DIR=$TMP
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.setuptools
|
||||
python3.pkgs.wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ffmpeg
|
||||
] ++ (with python3.pkgs; [
|
||||
appdirs
|
||||
attrs
|
||||
audioread
|
||||
certifi
|
||||
cffi
|
||||
charset-normalizer
|
||||
contourpy
|
||||
cycler
|
||||
decorator
|
||||
exceptiongroup
|
||||
execnet
|
||||
fonttools
|
||||
idna
|
||||
imageio
|
||||
iniconfig
|
||||
joblib
|
||||
kiwisolver
|
||||
librosa
|
||||
llvmlite
|
||||
matplotlib
|
||||
networkx
|
||||
noisereduce
|
||||
numba
|
||||
numpy
|
||||
packaging
|
||||
pillow
|
||||
pluggy
|
||||
pooch
|
||||
pycparser
|
||||
pydub
|
||||
pyparsing
|
||||
python-dateutil
|
||||
pywavelets
|
||||
requests
|
||||
resampy
|
||||
scikit-image
|
||||
scikit-learn
|
||||
scipy
|
||||
six
|
||||
soundfile
|
||||
threadpoolctl
|
||||
tifffile
|
||||
tomli
|
||||
tqdm
|
||||
urllib3
|
||||
]);
|
||||
|
||||
pythonImportsCheck = [ "audalign" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Package for aligning audio files through audio fingerprinting";
|
||||
homepage = "https://github.com/benfmiller/audalign";
|
||||
changelog = "https://github.com/benfmiller/audalign/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user