trackma: 0.8.5 -> 0.8.6
Switch to pyproject: https://aur.archlinux.org/packages/trackma-git#comment-902732 https://github.com/z411/trackma/pull/653
This commit is contained in:
parent
ca34abab70
commit
fdd91716e4
|
@ -24,23 +24,24 @@ let
|
||||||
in
|
in
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "trackma";
|
pname = "trackma";
|
||||||
version = "0.8.5";
|
version = "0.8.6";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "z411";
|
owner = "z411";
|
||||||
repo = "trackma";
|
repo = "trackma";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-BjZw/AYFlTYtgJTDFOALHx1d71ZQsYZ2TXnEUeQVvpw=";
|
sha256 = "qlkFQSJFjxkGd5WkNGfyAo64ys8VJLep/ZOL6icXQ4c=";
|
||||||
fetchSubmodules = true; # for anime-relations submodule
|
fetchSubmodules = true; # for anime-relations submodule
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ copyDesktopItems ]
|
nativeBuildInputs = [ copyDesktopItems python3.pkgs.poetry-core ]
|
||||||
++ lib.optionals withGTK [ wrapGAppsHook gobject-introspection ]
|
++ lib.optionals withGTK [ wrapGAppsHook gobject-introspection ]
|
||||||
++ lib.optionals withQT [ qt5.wrapQtAppsHook ];
|
++ lib.optionals withQT [ qt5.wrapQtAppsHook ];
|
||||||
|
|
||||||
buildInputs = lib.optionals withGTK [ glib gtk3 ];
|
buildInputs = lib.optionals withGTK [ glib gtk3 ];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; ([ urllib3 ]
|
propagatedBuildInputs = with python3.pkgs; ([ requests ]
|
||||||
++ lib.optionals withQT [ pyqt5 ]
|
++ lib.optionals withQT [ pyqt5 ]
|
||||||
++ lib.optionals withGTK [ pycairo pygobject3 ]
|
++ lib.optionals withGTK [ pycairo pygobject3 ]
|
||||||
++ lib.optionals withCurses [ urwid ]
|
++ lib.optionals withCurses [ urwid ]
|
||||||
|
|
Loading…
Reference in a new issue