2021-09-18 10:52:07 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, pkg-config
|
|
|
|
, libX11
|
|
|
|
, libXcursor
|
|
|
|
, libXrandr
|
|
|
|
, libXinerama
|
|
|
|
, libXi
|
|
|
|
, libXext
|
|
|
|
, libXxf86vm
|
|
|
|
, libGL
|
2022-03-30 09:31:56 +00:00
|
|
|
, nixosTests
|
2024-01-02 11:29:13 +00:00
|
|
|
, buildGoModule
|
2021-09-18 10:52:07 +00:00
|
|
|
}:
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
buildGoModule rec {
|
2021-09-18 10:52:07 +00:00
|
|
|
pname = "darktile";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.0.11";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liamg";
|
|
|
|
repo = "darktile";
|
|
|
|
rev = "v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-M3vySAyYwqscR9n0GGXp1ttO/mhdSCponZNYJRBBI18=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXcursor
|
|
|
|
libXrandr
|
|
|
|
libXinerama
|
|
|
|
libXi
|
|
|
|
libXext
|
|
|
|
libXxf86vm
|
|
|
|
libGL
|
|
|
|
];
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.darktile;
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A GPU rendered terminal emulator designed for tiling window managers";
|
|
|
|
homepage = "https://github.com/liamg/darktile";
|
|
|
|
downloadPage = "https://github.com/liamg/darktile/releases";
|
|
|
|
changelog = "https://github.com/liamg/darktile/releases/tag/v${version}";
|
|
|
|
license = licenses.mit;
|
2024-01-02 11:29:13 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
badPlatforms = [ "aarch64-linux" ];
|
|
|
|
maintainers = with maintainers; [ mikaelfangel ];
|
|
|
|
mainProgram = "darktile";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
}
|