mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
onthespot: add async-timeout
This commit is contained in:
parent
e433609e58
commit
6c1e1d053c
@ -10,7 +10,7 @@
|
|||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "onthespot";
|
pname = "onthespot";
|
||||||
version = "0.5";
|
version = "0.5";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "casualsnek";
|
owner = "casualsnek";
|
||||||
@ -19,12 +19,23 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
hash = "sha256-VaJBNsT7uNOGY43GnzhUqDQNiPoFZcc2UaIfOKgkufg=";
|
hash = "sha256-VaJBNsT7uNOGY43GnzhUqDQNiPoFZcc2UaIfOKgkufg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonRemoveDeps = [
|
||||||
|
"PyQt5-Qt5"
|
||||||
|
"PyQt5-stubs"
|
||||||
|
# Doesn't seem to be used in the sources and causes
|
||||||
|
# build issues
|
||||||
|
"PyOgg"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
copyDesktopItems
|
copyDesktopItems
|
||||||
libsForQt5.wrapQtAppsHook
|
libsForQt5.wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
dependencies = with python3.pkgs; [
|
||||||
|
async-timeout
|
||||||
charset-normalizer
|
charset-normalizer
|
||||||
defusedxml
|
defusedxml
|
||||||
ffmpeg
|
ffmpeg
|
||||||
@ -43,16 +54,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
zeroconf
|
zeroconf
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonRemoveDeps = [
|
|
||||||
"PyQt5-Qt5"
|
|
||||||
"PyQt5-stubs"
|
|
||||||
# Doesn't seem to be used in the sources and causes
|
|
||||||
# build issues
|
|
||||||
"PyOgg"
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonRelaxDeps = true;
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -Dm444 $src/src/onthespot/resources/icon.png $out/share/icons/hicolor/256x256/apps/onthespot.png
|
install -Dm444 $src/src/onthespot/resources/icon.png $out/share/icons/hicolor/256x256/apps/onthespot.png
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user