summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/video/corrscope
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-11-30 00:34:13 +0100
committerJonathan Ringer <jonringer117@gmail.com>2021-11-30 18:52:56 -0800
commita00e7e357ce5680d18cbff8d1678fda6098b3f5d (patch)
treefc1924ba56bf26010a3353a3017d4deb3294b4cb /pkgs/applications/video/corrscope
parentc586350dfbfbdefde0e718f9c531420314bec154 (diff)
corrscope: add packaging
Diffstat (limited to 'pkgs/applications/video/corrscope')
-rw-r--r--pkgs/applications/video/corrscope/default.nix26
1 files changed, 21 insertions, 5 deletions
diff --git a/pkgs/applications/video/corrscope/default.nix b/pkgs/applications/video/corrscope/default.nix
index c1d6669c8c2f..0e1d377be28e 100644
--- a/pkgs/applications/video/corrscope/default.nix
+++ b/pkgs/applications/video/corrscope/default.nix
@@ -11,6 +11,7 @@
mkDerivationWith python3Packages.buildPythonApplication rec {
pname = "corrscope";
version = "0.7.1";
+ format = "pyproject";
src = fetchFromGitHub {
owner = "corrscope";
@@ -19,8 +20,6 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
sha256 = "0c9kmrw6pcda68li04b5j2kmsgdw1q463qlc32wn96zn9hl82v6m";
};
- format = "pyproject";
-
patches = [
# Remove when bumping past 0.7.1
(fetchpatch {
@@ -30,11 +29,28 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
})
];
- nativeBuildInputs = [ wrapQtAppsHook ] ++ (with python3Packages; [ poetry-core ]);
+ nativeBuildInputs = [
+ wrapQtAppsHook
+ ] ++ (with python3Packages; [
+ poetry-core
+ ]);
- buildInputs = [ ffmpeg qtbase ];
+ buildInputs = [
+ ffmpeg
+ qtbase
+ ];
- propagatedBuildInputs = with python3Packages; [ appdirs atomicwrites attrs click matplotlib numpy pyqt5 ruamel-yaml ];
+ propagatedBuildInputs = with python3Packages; [
+ appdirs
+ atomicwrites
+ attrs
+ click
+ matplotlib
+ numpy
+ packaging
+ pyqt5
+ ruamel-yaml
+ ];
dontWrapQtApps = true;