diff options
author | OPNA2608 <opna2608@protonmail.com> | 2024-03-13 16:38:35 +0100 |
---|---|---|
committer | OPNA2608 <opna2608@protonmail.com> | 2024-04-11 23:14:58 +0200 |
commit | 3f563e3b755177f0bb35d712674c9d4252b55e76 (patch) | |
tree | 4ffe8843d8e7f82c9aac1f0111acb93f3be780c6 /pkgs/applications/video | |
parent | 94bc20ad0f8f8f09dc115d10739f15f5f0bf11ed (diff) |
corrscope: Migrate to by-name
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/corrscope/default.nix | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/pkgs/applications/video/corrscope/default.nix b/pkgs/applications/video/corrscope/default.nix deleted file mode 100644 index 088e72456f380..0000000000000 --- a/pkgs/applications/video/corrscope/default.nix +++ /dev/null @@ -1,89 +0,0 @@ -{ stdenv -, lib -, mkDerivationWith -, python3Packages -, fetchFromGitHub -, wrapQtAppsHook -, ffmpeg -, qtbase -, qtwayland -, testers -, corrscope -}: - -mkDerivationWith python3Packages.buildPythonApplication rec { - pname = "corrscope"; - version = "0.9.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "corrscope"; - repo = "corrscope"; - rev = version; - hash = "sha256-kOPhVm4epIhBSsgQVKNCoQ7DZcMG/b3sapxwwKo/V+U="; - }; - - pythonRelaxDeps = [ "attrs" "ruamel.yaml" ]; - - nativeBuildInputs = [ - wrapQtAppsHook - ] ++ (with python3Packages; [ - poetry-core - pythonRelaxDepsHook - ]); - - buildInputs = [ - ffmpeg - qtbase - ] ++ lib.optionals stdenv.hostPlatform.isLinux [ - qtwayland - ]; - - propagatedBuildInputs = with python3Packages; [ - appdirs - appnope - atomicwrites - attrs - click - matplotlib - numpy - packaging - qtpy - pyqt5 - ruamel-yaml - colorspacious - ]; - - dontWrapQtApps = true; - - preFixup = '' - makeWrapperArgs+=( - --prefix PATH : ${lib.makeBinPath [ ffmpeg ]} - "''${qtWrapperArgs[@]}" - ) - ''; - - 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 = '' - Corrscope renders oscilloscope views of WAV files recorded from chiptune (game music from - retro sound chips). - - Corrscope uses "waveform correlation" to track complex waves (including SNES and Sega - Genesis/FM synthesis) which jump around on other oscilloscope programs. - ''; - homepage = "https://github.com/corrscope/corrscope"; - license = licenses.bsd2; - maintainers = with maintainers; [ OPNA2608 ]; - platforms = platforms.all; - mainProgram = "corr"; - }; -} |