corrscope: add packaging
This commit is contained in:
parent
c586350dfb
commit
a00e7e357c
@ -11,6 +11,7 @@
|
|||||||
mkDerivationWith python3Packages.buildPythonApplication rec {
|
mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||||
pname = "corrscope";
|
pname = "corrscope";
|
||||||
version = "0.7.1";
|
version = "0.7.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "corrscope";
|
owner = "corrscope";
|
||||||
@ -19,8 +20,6 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
|||||||
sha256 = "0c9kmrw6pcda68li04b5j2kmsgdw1q463qlc32wn96zn9hl82v6m";
|
sha256 = "0c9kmrw6pcda68li04b5j2kmsgdw1q463qlc32wn96zn9hl82v6m";
|
||||||
};
|
};
|
||||||
|
|
||||||
format = "pyproject";
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Remove when bumping past 0.7.1
|
# Remove when bumping past 0.7.1
|
||||||
(fetchpatch {
|
(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;
|
dontWrapQtApps = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user