22 desktopItem = makeDesktopItem {
23 desktopName = "Wayst";
25 genericName = "Terminal";
28 categories = [ "System" "TerminalEmulator" ];
29 keywords = [ "wayst" "terminal" ];
30 comment = "A simple terminal emulator";
33 stdenv.mkDerivation rec {
35 version = "unstable-2023-07-16";
37 src = fetchFromGitHub {
40 rev = "f8b218eec1af706fd5ae287f5073e6422eb8b6d8";
41 hash = "sha256-tA2R6Snk5nqWkPXSbs7wmovWkT97xafdK0e/pKBUIUg=";
44 makeFlags = [ "INSTALL_DIR=\${out}/bin" ];
46 nativeBuildInputs = [ pkg-config ];
59 enableParallelBuilding = true;
62 substituteInPlace src/settings.c \
63 --replace xdg-open ${xdg-utils}/bin/xdg-open
64 substituteInPlace src/main.c \
65 --replace notify-send ${libnotify}/bin/notify-send
73 mkdir -p $out/share/applications
74 ln -s ${desktopItem}/share/applications/* $out/share/applications
75 install -D icons/wayst.svg $out/share/icons/hicolor/scalable/apps/wayst.svg
78 passthru.tests.test = nixosTests.terminal-emulators.wayst;
81 description = "A simple terminal emulator";
82 mainProgram = "wayst";
83 homepage = "https://github.com/91861/wayst";
84 license = licenses.mit;
85 platforms = platforms.linux;
86 maintainers = with maintainers; [ berbiche ];