mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
neovim-qt-unwrapped: use finalAttrs
, remove with lib
This commit is contained in:
parent
6cead234cb
commit
e98fa16484
1 changed files with 8 additions and 6 deletions
|
@ -10,14 +10,14 @@
|
||||||
python3Packages,
|
python3Packages,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "neovim-qt-unwrapped";
|
pname = "neovim-qt-unwrapped";
|
||||||
version = "0.2.19";
|
version = "0.2.19";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "equalsraf";
|
owner = "equalsraf";
|
||||||
repo = "neovim-qt";
|
repo = "neovim-qt";
|
||||||
rev = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-r77tg3xVemHW/zDNA6dYerFjFaYDDeHsD68WhMfI70Q=";
|
hash = "sha256-r77tg3xVemHW/zDNA6dYerFjFaYDDeHsD68WhMfI70Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -51,12 +51,14 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Neovim client library and GUI, in Qt5";
|
description = "Neovim client library and GUI, in Qt5";
|
||||||
homepage = "https://github.com/equalsraf/neovim-qt";
|
homepage = "https://github.com/equalsraf/neovim-qt";
|
||||||
license = licenses.isc;
|
license = lib.licenses.isc;
|
||||||
mainProgram = "nvim-qt";
|
mainProgram = "nvim-qt";
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
maintainers = with lib.maintainers; [
|
||||||
|
peterhoeg
|
||||||
|
];
|
||||||
inherit (neovim.meta) platforms;
|
inherit (neovim.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue