Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

birdtray: fix PATH handling, move to by-name #327363

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{ mkDerivation
, lib
, fetchFromGitHub

, cmake
, pkg-config
, qtbase
, qttools
, qtx11extras
{ stdenv
drupol marked this conversation as resolved.
Show resolved Hide resolved
, lib
, fetchFromGitHub
, cmake
, pkg-config
, libsForQt5
, fetchpatch
, thunderbird
}:

mkDerivation rec {
stdenv.mkDerivation rec {
pname = "birdtray";
version = "1.11.4";

Expand All @@ -20,9 +19,28 @@ mkDerivation rec {
sha256 = "sha256-rj8tPzZzgW0hXmq8c1LiunIX1tO/tGAaqDGJgCQda5M=";
};

nativeBuildInputs = [ cmake pkg-config ];
nativeBuildInputs = [
cmake
pkg-config
libsForQt5.wrapQtAppsHook
];

buildInputs = [
qtbase qttools qtx11extras
libsForQt5.qtbase
libsForQt5.qttools
libsForQt5.qtx11extras
];

cmakeFlags = [
(lib.cmakeFeature "OPT_THUNDERBIRD_CMDLINE" "thunderbird") # get thunderbird from PATH
];

patches = [
(fetchpatch {
name = "fix-path-handling.patch";
url = "https://github.com/gyunaev/birdtray/commit/54b304d92188429792c264b07ff45897699f2d3e.patch";
hash = "sha256-ME635Kt1b9RJKCqtAZBFa93OIA0u2Z4tWIlGcI374j0=";
})
];

# Wayland support is broken.
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4213,8 +4213,6 @@ with pkgs;

binwalk = with python3Packages; toPythonApplication binwalk;

birdtray = libsForQt5.callPackage ../applications/misc/birdtray { };

blitz = callPackage ../development/libraries/blitz { };

blockbook = callPackage ../servers/blockbook { };
Expand Down