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

vimix-cursors init at 1.0 #107609

Closed
wants to merge 1 commit into from
Closed

Conversation

JorisBlanken
Copy link

Motivation for this change

Adds the GTK cursor theme 'Vimix Cursors'. Nixpkgs already provides vimix GTK themes from the same author.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • 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 nixpkgs-review --run "nixpkgs-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)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the title and commit message to: "vimix-cursors init at 1.0

pkgs/data/icons/vimix-cursors/default.nix Outdated Show resolved Hide resolved
pkgs/data/icons/vimix-cursors/default.nix Outdated Show resolved Hide resolved
pkgs/data/icons/vimix-cursors/default.nix Outdated Show resolved Hide resolved
@JorisBlanken JorisBlanken changed the title Add Vimix Cursors GTK cursor theme vimix-cursors init at 1.0 Dec 26, 2020
@SuperSandro2000
Copy link
Member

Please squash the commits together.

@SuperSandro2000
Copy link
Member

You undid some changes with your force push.

@JorisBlanken
Copy link
Author

JorisBlanken commented Dec 26, 2020

Done, bare with me, I'm a noob

@SuperSandro2000

This comment has been minimized.

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 107609 run on x86_64-darwin 1

1 package built:
  • vimix-cursors

gpl3 is a deprecated license, check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.

cp -pr dist-white $out/share/icons/Vimix-cursors-white
'';

meta = with stdenv.lib; {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trace: Warning: stdenv.lib is deprecated and will be removed in the next release. Please use lib instead. For more information see #108938

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
meta = with stdenv.lib; {
meta = with lib; {

nativeBuildInputs = [ python3Packages.cairosvg xcursorgen ];

patches = [
(fetchpatch {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the function of these patches? It might be a good idea to add a comment above each one (https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-patch-comment.md)

cp -pr dist-white $out/share/icons/Vimix-cursors-white
'';

meta = with stdenv.lib; {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
meta = with stdenv.lib; {
meta = with lib; {

@@ -0,0 +1,56 @@
{ stdenv, fetchFromGitHub, fetchpatch, xcursorgen, python3Packages, bash }:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{ stdenv, fetchFromGitHub, fetchpatch, xcursorgen, python3Packages, bash }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, xcursorgen, python3Packages }:

];

buildPhase = ''
HOME=$TMP ${bash}/bin/bash ./build.sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
HOME=$TMP ${bash}/bin/bash ./build.sh
export HOME=$TMP
bash ./build.sh

@stale
Copy link

stale bot commented Oct 12, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Oct 12, 2021
@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 12, 2023
Copy link
Member

@Janik-Haag Janik-Haag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JorisBlanken still interested in getting this Merged? I will close the pr in a few weeks if you aren't

@donovanglover
Copy link
Member

There's a new PR for vimix-cursors here: #241054

@Janik-Haag
Copy link
Member

Closing this since the author seems inactive. I would suggest @JorisBlanken adds them self as a maintainer of the package in the future if they are interested. Still thank you for your contribution ❤️

@Janik-Haag Janik-Haag closed this Jul 6, 2023
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