diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-02-28 15:07:27 +0000 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-02-28 15:15:14 +0000 |
commit | 93a524dba0299e2096643635bcf87dc5c23a97aa (patch) | |
tree | 5d36a4fda41a8f7286b81bdec1d993588cecd0bf /pkgs/applications/version-management/git-cola | |
parent | 19e4e0a5e9465de8a60e7b62a37fa97d2dc06087 (diff) | |
download | nixlib-93a524dba0299e2096643635bcf87dc5c23a97aa.tar nixlib-93a524dba0299e2096643635bcf87dc5c23a97aa.tar.gz nixlib-93a524dba0299e2096643635bcf87dc5c23a97aa.tar.bz2 nixlib-93a524dba0299e2096643635bcf87dc5c23a97aa.tar.lz nixlib-93a524dba0299e2096643635bcf87dc5c23a97aa.tar.xz nixlib-93a524dba0299e2096643635bcf87dc5c23a97aa.tar.zst nixlib-93a524dba0299e2096643635bcf87dc5c23a97aa.zip |
git-cola: update dependencies and make it work in darwin
- `pyinotify` was removed a long time ago: https://github.com/git-cola/git-cola/pull/510 - `sip_4` does not seem to be needed, at least there is no mention at docs and the program seems to works fine without it - `send2trash` added since it is an optional feature: https://github.com/git-cola/git-cola#optional-features The removal of `pyinotify` also makes this build and works in darwin, so removing the `meta.platforms` (will inherit from `buildPythonApplication` instead).
Diffstat (limited to 'pkgs/applications/version-management/git-cola')
-rw-r--r-- | pkgs/applications/version-management/git-cola/default.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/applications/version-management/git-cola/default.nix b/pkgs/applications/version-management/git-cola/default.nix index fb4ebea2480f..08a3989b5bbc 100644 --- a/pkgs/applications/version-management/git-cola/default.nix +++ b/pkgs/applications/version-management/git-cola/default.nix @@ -1,9 +1,6 @@ { lib, fetchFromGitHub, python3Packages, gettext, git, qt5 }: -let - inherit (python3Packages) buildPythonApplication pyqt5 sip_4 pyinotify qtpy; - -in buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "git-cola"; version = "4.1.0"; @@ -15,7 +12,7 @@ in buildPythonApplication rec { }; buildInputs = [ git gettext ]; - propagatedBuildInputs = [ pyqt5 sip_4 pyinotify qtpy ]; + propagatedBuildInputs = with python3Packages; [ pyqt5 qtpy send2trash ]; nativeBuildInputs = [ qt5.wrapQtAppsHook ]; doCheck = false; @@ -28,7 +25,6 @@ in buildPythonApplication rec { homepage = "https://github.com/git-cola/git-cola"; description = "A sleek and powerful Git GUI"; license = licenses.gpl2; - platforms = platforms.linux; maintainers = [ maintainers.bobvanderlinden ]; }; } |