about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorCosima Neidahl <opna2608@protonmail.com>2024-04-12 11:44:44 +0200
committerGitHub <noreply@github.com>2024-04-12 11:44:44 +0200
commitdbf17c1739d59b86cd08383728bd66c54177cd1a (patch)
treeea03e22f0b6c30cd5d18bf23836b9bd9f679865f /pkgs/applications/video
parent04326b244c47b983282d61645c2822cf0e352931 (diff)
parent5475817996d3d3487557284d76ca719db54d1a72 (diff)
Merge pull request #295607 from OPNA2608/update/corrscope
corrscope: 0.8.1 -> 0.9.0
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/corrscope/default.nix95
1 files changed, 0 insertions, 95 deletions
diff --git a/pkgs/applications/video/corrscope/default.nix b/pkgs/applications/video/corrscope/default.nix
deleted file mode 100644
index 8bd17d2f785e6..0000000000000
--- a/pkgs/applications/video/corrscope/default.nix
+++ /dev/null
@@ -1,95 +0,0 @@
-{ lib
-, mkDerivationWith
-, python3Packages
-, fetchFromGitHub
-, fetchpatch
-, wrapQtAppsHook
-, ffmpeg
-, qtbase
-, testers
-, corrscope
-}:
-
-mkDerivationWith python3Packages.buildPythonApplication rec {
-  pname = "corrscope";
-  version = "0.8.1";
-  format = "pyproject";
-
-  src = fetchFromGitHub {
-    owner = "corrscope";
-    repo = "corrscope";
-    rev = version;
-    hash = "sha256-pS7upOYZAjgR3lWxny8TNZEj3Rrbg+L90ANZWFO9UPQ=";
-  };
-
-  patches = [
-    # https://github.com/corrscope/corrscope/pull/446
-    (fetchpatch {
-      name = "remove-setuptools-dependency.patch";
-      url = "https://github.com/corrscope/corrscope/commit/70b123173a7a012d9f29d6d3a8960b85caf6cc79.patch";
-      hash = "sha256-YCtb7v8cGP0pdceAKeoempnRzw+LRKQqDb3AfN0z/9s=";
-    })
-  ];
-
-  pythonRelaxDeps = [ "attrs" "ruamel.yaml" ];
-
-  nativeBuildInputs = [
-    wrapQtAppsHook
-  ] ++ (with python3Packages; [
-    poetry-core
-    pythonRelaxDepsHook
-  ]);
-
-  buildInputs = [
-    ffmpeg
-    qtbase
-  ];
-
-  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";
-  };
-}