mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #220964 from Aleksanaa/master
neovim-gtk: init at 1.0.4
This commit is contained in:
commit
689c732f3f
3 changed files with 48 additions and 0 deletions
|
@ -578,6 +578,12 @@
|
|||
githubId = 43479487;
|
||||
name = "Titouan Biteau";
|
||||
};
|
||||
aleksana = {
|
||||
email = "me@aleksana.moe";
|
||||
github = "Aleksanaa";
|
||||
githubId = 42209822;
|
||||
name = "Aleksana QwQ";
|
||||
};
|
||||
alekseysidorov = {
|
||||
email = "sauron1987@gmail.com";
|
||||
github = "alekseysidorov";
|
||||
|
|
40
pkgs/applications/editors/neovim/neovim-gtk.nix
Executable file
40
pkgs/applications/editors/neovim/neovim-gtk.nix
Executable file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, wrapGAppsHook4
|
||||
, pkg-config
|
||||
, gdk-pixbuf
|
||||
, gtk4
|
||||
, pango
|
||||
, vte-gtk4
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "neovim-gtk";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Lyude";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-inva7pYwOw3bXvFeKZ4aKSQ65iCat5HxM+NME8jN4/I=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-9eZwCOP4xQtFOieqVRBAdXZrXmzdnae6PexGJ/eCyYc=";
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsHook4 pkg-config ];
|
||||
|
||||
buildInputs = [ gdk-pixbuf gtk4 pango vte-gtk4 ];
|
||||
|
||||
postInstall = ''
|
||||
make PREFIX=$out install-resources
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Gtk ui for neovim";
|
||||
homepage = "https://github.com/Lyude/neovim-gtk";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ aleksana ];
|
||||
mainProgram = "nvim-gtk";
|
||||
};
|
||||
}
|
|
@ -34028,6 +34028,8 @@ with pkgs;
|
|||
};
|
||||
neovim = wrapNeovim neovim-unwrapped { };
|
||||
|
||||
neovim-gtk = callPackage ../applications/editors/neovim/neovim-gtk.nix { };
|
||||
|
||||
neovim-qt-unwrapped = libsForQt5.callPackage ../applications/editors/neovim/neovim-qt.nix { };
|
||||
neovim-qt = libsForQt5.callPackage ../applications/editors/neovim/qt.nix { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue