mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
neovim-gtk: use finalAttrs
, remove with lib
This commit is contained in:
parent
e98fa16484
commit
d88309158f
1 changed files with 9 additions and 7 deletions
|
@ -10,14 +10,14 @@
|
||||||
vte-gtk4,
|
vte-gtk4,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "neovim-gtk";
|
pname = "neovim-gtk";
|
||||||
version = "1.0.4";
|
version = "1.0.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Lyude";
|
owner = "Lyude";
|
||||||
repo = pname;
|
repo = "neovim-gtk";
|
||||||
rev = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-inva7pYwOw3bXvFeKZ4aKSQ65iCat5HxM+NME8jN4/I=";
|
hash = "sha256-inva7pYwOw3bXvFeKZ4aKSQ65iCat5HxM+NME8jN4/I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -42,11 +42,13 @@ rustPlatform.buildRustPackage rec {
|
||||||
make PREFIX=$out install-resources
|
make PREFIX=$out install-resources
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Gtk ui for neovim";
|
description = "Gtk ui for neovim";
|
||||||
homepage = "https://github.com/Lyude/neovim-gtk";
|
homepage = "https://github.com/Lyude/neovim-gtk";
|
||||||
license = licenses.gpl3Only;
|
license = lib.licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ aleksana ];
|
maintainers = with lib.maintainers; [
|
||||||
|
aleksana
|
||||||
|
];
|
||||||
mainProgram = "nvim-gtk";
|
mainProgram = "nvim-gtk";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue