corrscope: 0.8.1 -> 0.9.0

This commit is contained in:
OPNA2608 2024-03-13 16:37:37 +01:00
parent 865ce9d507
commit 94bc20ad0f

View File

@ -1,36 +1,28 @@
{ lib { stdenv
, lib
, mkDerivationWith , mkDerivationWith
, python3Packages , python3Packages
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, wrapQtAppsHook , wrapQtAppsHook
, ffmpeg , ffmpeg
, qtbase , qtbase
, qtwayland
, testers , testers
, corrscope , corrscope
}: }:
mkDerivationWith python3Packages.buildPythonApplication rec { mkDerivationWith python3Packages.buildPythonApplication rec {
pname = "corrscope"; pname = "corrscope";
version = "0.8.1"; version = "0.9.0";
format = "pyproject"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "corrscope"; owner = "corrscope";
repo = "corrscope"; repo = "corrscope";
rev = version; rev = version;
hash = "sha256-pS7upOYZAjgR3lWxny8TNZEj3Rrbg+L90ANZWFO9UPQ="; hash = "sha256-kOPhVm4epIhBSsgQVKNCoQ7DZcMG/b3sapxwwKo/V+U=";
}; };
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" ]; pythonRelaxDeps = [ "attrs" "ruamel.yaml" ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -43,6 +35,8 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
buildInputs = [ buildInputs = [
ffmpeg ffmpeg
qtbase qtbase
] ++ lib.optionals stdenv.hostPlatform.isLinux [
qtwayland
]; ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [