Skip to content

Commit

Permalink
Merge pull request NixOS#86375 from AndersonTorres/havoc-upload
Browse files Browse the repository at this point in the history
havoc: init at 2019-12-08
  • Loading branch information
AndersonTorres authored Apr 30, 2020
2 parents ea3a26b + 8aee174 commit 0510d59
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/applications/misc/havoc/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ stdenv, fetchFromGitHub
, pkgconfig, libxkbcommon, wayland, wayland-protocols }:

stdenv.mkDerivation rec {

pname = "havoc";
version = "2019-12-08";

src = fetchFromGitHub {
owner = "ii8";
repo = pname;
rev = "507446c92ed7bf8380a58c5ba2b14aba5cdf412c";
sha256 = "13nfnan1gmy4cqxmqv0rc8a4mcb1g62v73d56hy7z2psv4am7a09";
};

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 stdenv.lib; {
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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19548,6 +19548,8 @@ in

gcalcli = callPackage ../applications/misc/gcalcli { };

havoc = callPackage ../applications/misc/havoc { };

vcal = callPackage ../applications/misc/vcal { };

gcolor2 = callPackage ../applications/graphics/gcolor2 { };
Expand Down

0 comments on commit 0510d59

Please sign in to comment.