3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/terminal-emulators/havoc/default.nix

36 lines
907 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub
2020-04-30 04:09:49 +01:00
, pkgconfig, libxkbcommon, wayland, wayland-protocols }:
stdenv.mkDerivation rec {
pname = "havoc";
2020-08-27 23:52:53 +01:00
version = "0.3.1";
2020-04-30 04:09:49 +01:00
src = fetchFromGitHub {
owner = "ii8";
repo = pname;
2020-08-27 23:52:53 +01:00
rev = version;
sha256 = "1g05r9j6srwz1krqvzckx80jn8fm48rkb4xp68953gy9yp2skg3k";
2020-04-30 04:09:49 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxkbcommon wayland wayland-protocols ];
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}/
'';
meta = with lib; {
2020-04-30 04:09:49 +01:00
description = "A minimal terminal emulator for Wayland";
homepage = "https://github.com/ii8/havoc";
license = with licenses; [ mit publicDomain ];
platforms = with platforms; unix;
maintainers = with maintainers; [ AndersonTorres ];
};
}