nixpkgs/pkgs/applications/terminal-emulators/havoc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
1.1 KiB
Nix
Raw Normal View History

2022-01-24 16:33:27 +00:00
{ lib
, stdenv
, fetchFromGitHub
, libxkbcommon
, pkg-config
, wayland-protocols
, wayland-scanner
, wayland
2022-01-24 16:33:27 +00:00
}:
2020-04-30 03:09:49 +00:00
stdenv.mkDerivation rec {
pname = "havoc";
2023-04-17 07:57:15 +00:00
version = "0.5.0";
2020-04-30 03:09:49 +00:00
src = fetchFromGitHub {
owner = "ii8";
repo = pname;
2020-08-27 22:52:53 +00:00
rev = version;
2023-04-17 07:57:15 +00:00
hash = "sha256-jvGm2gFdMS61otETF7gOEpYn6IuLfqI95IpEVfIv+C4=";
2020-04-30 03:09:49 +00:00
};
depsBuildBuild = [
2022-01-24 16:33:27 +00:00
pkg-config
];
nativeBuildInputs = [
wayland-protocols
wayland-scanner
];
2022-01-24 16:33:27 +00:00
buildInputs = [
libxkbcommon
wayland
];
2020-04-30 03:09:49 +00:00
dontConfigure = true;
installFlags = [ "PREFIX=$$out" ];
postInstall = ''
install -D -m 644 havoc.cfg -t $out/etc/${pname}/
install -D -m 644 README.md -t $out/share/doc/${pname}-${version}/
'';
enableParallelBuilding = true;
meta = with lib; {
2020-04-30 03:09:49 +00:00
homepage = "https://github.com/ii8/havoc";
2022-01-24 16:33:27 +00:00
description = "A minimal terminal emulator for Wayland";
2020-04-30 03:09:49 +00:00
license = with licenses; [ mit publicDomain ];
platforms = with platforms; unix;
maintainers = with maintainers; [ AndersonTorres ];
2023-04-17 07:57:15 +00:00
# fatal error: 'sys/epoll.h' file not found
broken = stdenv.isDarwin;
2020-04-30 03:09:49 +00:00
};
}