Merge pull request #193339 from OPNA2608/update/corrscope
corrscope: 0.8.0 -> 0.8.1
This commit is contained in:
commit
9b78aaa171
@ -5,27 +5,29 @@
|
||||
, wrapQtAppsHook
|
||||
, ffmpeg
|
||||
, qtbase
|
||||
, testers
|
||||
, corrscope
|
||||
}:
|
||||
|
||||
mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
pname = "corrscope";
|
||||
version = "0.8.0";
|
||||
version = "0.8.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "corrscope";
|
||||
repo = "corrscope";
|
||||
rev = version;
|
||||
sha256 = "1wdla4ryif1ss37aqi61lcvzddvf568wyh5s3xv1lrryh4al9vpd";
|
||||
sha256 = "sha256-pS7upOYZAjgR3lWxny8TNZEj3Rrbg+L90ANZWFO9UPQ=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "attrs" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3Packages.pythonRelaxDepsHook
|
||||
wrapQtAppsHook
|
||||
] ++ (with python3Packages; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
@ -35,6 +37,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
appdirs
|
||||
appnope
|
||||
atomicwrites
|
||||
attrs
|
||||
click
|
||||
@ -56,6 +59,14 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = corrscope;
|
||||
# Tries writing to
|
||||
# - $HOME/.local/share/corrscope on Linux
|
||||
# - $HOME/Library/Application Support/corrscope on Darwin
|
||||
command = "env HOME=$TMPDIR ${lib.getExe corrscope} --version";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Render wave files into oscilloscope views, featuring advanced correlation-based triggering algorithm";
|
||||
longDescription = ''
|
||||
@ -69,5 +80,6 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ OPNA2608 ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "corr";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user