git.iko.soy/typeable/nixpkgs
on master help sign in
aminal: init at 0.7.4
commit9ba423b09a24e5f9b63b65ede99a4d79c16cc920 authorWael M. Nasreddine <wael.nasreddine@gmail.com> dateTue 27 Nov 2018, 20:20 (8 years ago) parentfe2f57a
2 files changed+80
pkgs/applications/misc/aminal/default.nix+75 pkgs/top-level/all-packages.nix+5
pkgs/applications/misc/aminal/default.nixnew file+75
@@ -0,0 +1,75 @@
1+{ buildGoPackage
2+, Carbon
3+, Cocoa
4+, Kernel
5+, cf-private
6+, fetchFromGitHub
7+, lib
8+, mesa_glu
9+, stdenv
10+, xorg
11+}:
12+
13+buildGoPackage rec {
14+ name = "aminal-${version}";
15+ version = "0.7.4";
16+
17+ goPackagePath = "github.com/liamg/aminal";
18+
19+ buildInputs =
20+ lib.optionals stdenv.isLinux [
21+ mesa_glu
22+ xorg.libX11
23+ xorg.libXcursor
24+ xorg.libXi
25+ xorg.libXinerama
26+ xorg.libXrandr
27+ xorg.libXxf86vm
28+ ] ++ lib.optionals stdenv.isDarwin [
29+ Carbon
30+ Cocoa
31+ Kernel
32+ cf-private /* Needed for NSDefaultRunLoopMode */
33+ ];
34+
35+ src = fetchFromGitHub {
36+ owner = "liamg";
37+ repo = "aminal";
38+ rev = "v${version}";
39+ sha256 = "0wnzxjlv98pi3gy4hp3d19pwpa4kf1h5rqy03s9bcqdbpb1v1b7v";
40+ };
41+
42+ preBuild = ''
43+ buildFlagsArray=("-ldflags=-X ${goPackagePath}/version.Version=${version}")
44+ '';
45+
46+ meta = with lib; {
47+ description = "Golang terminal emulator from scratch";
48+ longDescription = ''
49+ Aminal is a modern terminal emulator for Mac/Linux implemented in Golang
50+ and utilising OpenGL.
51+
52+ The project is experimental at the moment, so you probably won't want to
53+ rely on Aminal as your main terminal for a while.
54+
55+ Features:
56+ - Unicode support
57+ - OpenGL rendering
58+ - Customisation options
59+ - True colour support
60+ - Support for common ANSI escape sequences a la xterm
61+ - Scrollback buffer
62+ - Clipboard access
63+ - Clickable URLs
64+ - Multi platform support (Windows coming soon...)
65+ - Sixel support
66+ - Hints/overlays
67+ - Built-in patched fonts for powerline
68+ - Retina display support
69+ '';
70+ homepage = https://github.com/liamg/aminal;
71+ license = licenses.gpl3;
72+ maintainers = with maintainers; [ kalbasit ];
73+ platforms = platforms.linux ++ platforms.darwin;
74+ };
75+}
pkgs/top-level/all-packages.nix+5
@@ -19319,6 +19319,11 @@ with pkgs;
1931919319 vte = gnome3.vte;
1932019320 };
1932119321
19322+ aminal = callPackage ../applications/misc/aminal {
19323+ inherit (darwin.apple_sdk.frameworks) Carbon Cocoa Kernel;
19324+ inherit (darwin) cf-private;
19325+ };
19326+
1932219327 termite-unwrapped = callPackage ../applications/misc/termite {
1932319328 vte = gnome3.vte-ng;
1932419329 };