-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
vicinae: init at 0.15.5 #451675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
vicinae: init at 0.15.5 #451675
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| { | ||
| cmake, | ||
| cmark-gfm, | ||
| fetchFromGitHub, | ||
| fetchNpmDeps, | ||
| grpc-tools, | ||
| kdePackages, | ||
| lib, | ||
| libqalculate, | ||
| minizip, | ||
| ninja, | ||
| nodejs, | ||
| npmHooks, | ||
| pkg-config, | ||
| protobuf, | ||
| qt6, | ||
| rapidfuzz-cpp, | ||
| stdenv, | ||
| wayland, | ||
| }: | ||
| stdenv.mkDerivation (finalAttrs: { | ||
| pname = "vicinae"; | ||
| version = "0.15.5"; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "vicinaehq"; | ||
| repo = "vicinae"; | ||
| tag = "v${finalAttrs.version}"; | ||
| hash = "sha256-3pKexTUWfohL/S/yWsVMShmtMlBFI9zsd7NFzySKG0w="; | ||
| }; | ||
|
|
||
| apiDeps = fetchNpmDeps { | ||
| src = "${finalAttrs.src}/typescript/api"; | ||
| hash = "sha256-dSHEzw15lSRRbldl9PljuWFf2htdG+HgSeKPAB88RBg="; | ||
| }; | ||
|
|
||
| extensionManagerDeps = fetchNpmDeps { | ||
| src = "${finalAttrs.src}/typescript/extension-manager"; | ||
| hash = "sha256-TCT7uZRZn4rsLA/z2yLeK5Bt4DJPmdSC4zkmuCxTtc8="; | ||
| }; | ||
|
|
||
| cmakeFlags = lib.mapAttrsToList lib.cmakeFeature { | ||
| "VICINAE_GIT_TAG" = "v${finalAttrs.version}"; | ||
| "VICINAE_PROVENANCE" = "nix"; | ||
| "INSTALL_NODE_MODULES" = "OFF"; | ||
| "CMAKE_INSTALL_PREFIX" = placeholder "out"; | ||
| "CMAKE_INSTALL_DATAROOTDIR" = "share"; | ||
| "CMAKE_INSTALL_BINDIR" = "bin"; | ||
| "CMAKE_INSTALL_LIBDIR" = "lib"; | ||
| }; | ||
|
|
||
| nativeBuildInputs = [ | ||
| cmake | ||
| ninja | ||
| nodejs | ||
| pkg-config | ||
| protobuf | ||
| qt6.wrapQtAppsHook | ||
| ]; | ||
|
|
||
| buildInputs = [ | ||
| cmark-gfm | ||
| grpc-tools | ||
| kdePackages.layer-shell-qt | ||
| kdePackages.qtkeychain | ||
| libqalculate | ||
| minizip | ||
| nodejs | ||
| protobuf | ||
| qt6.qtbase | ||
| qt6.qtsvg | ||
| qt6.qtwayland | ||
| rapidfuzz-cpp | ||
| wayland | ||
| ]; | ||
|
|
||
| postPatch = '' | ||
| local postPatchHooks=() | ||
| source ${npmHooks.npmConfigHook}/nix-support/setup-hook | ||
| npmRoot=typescript/api npmDeps=${finalAttrs.apiDeps} npmConfigHook | ||
| npmRoot=typescript/extension-manager npmDeps=${finalAttrs.extensionManagerDeps} npmConfigHook | ||
| ''; | ||
|
|
||
| qtWrapperArgs = [ | ||
| "--prefix PATH : ${ | ||
| lib.makeBinPath [ | ||
| nodejs | ||
| (placeholder "out") | ||
| ] | ||
| }" | ||
| ]; | ||
|
|
||
| meta = { | ||
| description = "A focused launcher for your desktop β native, fast, extensible"; | ||
| homepage = "https://github.com/vicinaehq/vicinae"; | ||
| license = lib.licenses.gpl3Plus; | ||
| maintainers = with lib.maintainers; [ zstg ]; | ||
| platforms = lib.platforms.linux; | ||
| mainProgram = "vicinae"; | ||
| }; | ||
| }) | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a stylistic change, and will need to be reversed if more maintainers are added later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah okay. I was under the impression that
withwas generally being phased out (I'm not particularly involved in nixpkgs things), but if that's the norm, sounds good to me.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with libis being phased out for meta and other attrs. Usingwithin a smaller scope like meta.maintainers in fine, using it for the whole meta attr isn't.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyways, I won't be able to maintain this. I applied the changes as a commiter. And given chaotic-cx/nyx#1220 (comment), would any of you like to co maintain this package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be willing to handle updates and such if necessary, but I have not maintained nixpkgs packages before, and so would need to be added to the maintainer-list. If you could do that on top of this PR, we can provide a patch, or we could open a quick PR just to add us as a maintainer.
Patch to maintainer list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Feel free to ping me if you want to get an update PR merged.