mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
neovide: use finalAttrs
, remove with lib
This commit is contained in:
parent
1a2d8b0e7f
commit
6cead234cb
1 changed files with 9 additions and 7 deletions
|
@ -24,14 +24,14 @@
|
||||||
wayland,
|
wayland,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec {
|
rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } (finalAttrs: {
|
||||||
pname = "neovide";
|
pname = "neovide";
|
||||||
version = "0.15.0";
|
version = "0.15.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "neovide";
|
owner = "neovide";
|
||||||
repo = "neovide";
|
repo = "neovide";
|
||||||
tag = version;
|
tag = finalAttrs.version;
|
||||||
hash = "sha256-MLiLddF53OXDPYuJbTAscezxN09mxZkuSOZtQz07JSE=";
|
hash = "sha256-MLiLddF53OXDPYuJbTAscezxN09mxZkuSOZtQz07JSE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -122,15 +122,17 @@ rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec {
|
||||||
install -m444 -Dt $out/share/applications assets/neovide.desktop
|
install -m444 -Dt $out/share/applications assets/neovide.desktop
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disallowedReferences = [ SKIA_SOURCE_DIR ];
|
disallowedReferences = [ finalAttrs.SKIA_SOURCE_DIR ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Neovide is a simple, no-nonsense, cross-platform graphical user interface for Neovim";
|
description = "Neovide is a simple, no-nonsense, cross-platform graphical user interface for Neovim";
|
||||||
mainProgram = "neovide";
|
mainProgram = "neovide";
|
||||||
homepage = "https://neovide.dev/";
|
homepage = "https://neovide.dev/";
|
||||||
changelog = "https://github.com/neovide/neovide/releases/tag/${version}";
|
changelog = "https://github.com/neovide/neovide/releases/tag/${finalAttrs.version}";
|
||||||
license = with lib.licenses; [ mit ];
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ ck3d ];
|
maintainers = with lib.maintainers; [
|
||||||
|
ck3d
|
||||||
|
];
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue