Skip to content
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

vnote: init at 2.5 #61979

Merged
merged 1 commit into from May 29, 2019
Merged

vnote: init at 2.5 #61979

merged 1 commit into from May 29, 2019

Conversation

kuznero
Copy link
Member

@kuznero kuznero commented May 23, 2019

Motivation for this change

Introduce a note-taking application that knows programmers and Markdown better, VNote.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@kuznero
Copy link
Member Author

kuznero commented May 24, 2019

@bignaux, please review.

@kuznero
Copy link
Member Author

kuznero commented May 24, 2019

Added missing dependency to hicolor-icon-theme. Homepage is in place pointing to the product web site. And it is still plain stdenv.mkDerivation instead of qt5.callPackage as it seems there are only couple of packages doing it this way while the rest is more conventional.

pkgs/top-level/all-packages.nix Outdated Show resolved Hide resolved
pkgs/applications/office/vnote/default.nix Outdated Show resolved Hide resolved
pkgs/applications/office/vnote/default.nix Outdated Show resolved Hide resolved
pkgs/applications/office/vnote/default.nix Outdated Show resolved Hide resolved
@kuznero
Copy link
Member Author

kuznero commented May 28, 2019

@aanderse, @bignaux please review. I addressed some you your comments.

@aanderse
Copy link
Member

@kuznero by no means required, but bonus points for submitting desktop item upstream 😄

@kuznero
Copy link
Member Author

kuznero commented May 29, 2019

@kuznero by no means required, but bonus points for submitting desktop item upstream smile

Not sure I follow, could you please elaborate?

@aanderse
Copy link
Member

It appears that upstream vnote has no desktop item so you created one specially for nixpkgs using makeDesktopItem. If you made a PR against upstream vnote adding the generated desktop item then we wouldn't need to provide our own desktop item with nixpkgs in a future release, other distros would benefit from it, etc... These types of files really belong upstream.

But I really want to make it clear this isn't required, it's just an awesome extra step you could take if you were so inclined to do so.

@aanderse
Copy link
Member

@GrahamcOfBorg build vnote

@kuznero
Copy link
Member Author

kuznero commented May 29, 2019

I see, thanks for clarification! I will keep it this way for now as I cannot commit to it yet. But I might get back to it later when I have more time.

@aanderse aanderse merged commit 0fa0bd4 into NixOS:master May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants