-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
unimatrix: init at unstable-2023-04-25 #264716
Conversation
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.
Here are some initial comments. I'm still a bit unsure about the nativeBuildInputs
, so I hope some other reviewers that know more about scm python applications could have a closer look. Cool stuff!
87bd32d
to
9550bae
Compare
I do not know much about scm python applications either, but if it helps, the reason I had pip and git as Although after implementing your recommendations, I was able to remove pip, which I suspect may have something to do with using |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/2897 |
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.
Reviewed points
Result of nixpkgs-review pr 264716
run on x86_64-linux 1
2 packages built:
- unimatrix
- unimatrix.dist
- package name fits guidelines
- package version fits guidelines
- package build on x86_64-linux
- executables tested on x86_64-linux
- all depending packages build
@robert-manchester is right; https://discourse.nixos.org/t/including-git-directory-in-build-environment/19204 |
The package does not have a valid python version, so So But since the program is just a python file, |
4d876e7
to
5775db2
Compare
@Anomalocaridid, ping me when |
@onemoresuza It looks like the |
8f4d346
to
3c3dd78
Compare
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.
Result of nixpkgs-review pr 264716
run on x86_64-linux 1
1 package built:
- unimatrix
Runs fine and LGTM, just a minor nit
Flake lock file updates: • Updated input 'unimatrix-patch': 'NixOS/nixpkgs#264716' → 'NixOS/nixpkgs#264716'
fc49e9c
to
861c592
Compare
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.
Result of nixpkgs-review pr 264716
run on x86_64-linux 1
1 package built:
- unimatrix
- package path fits guidelines
- package name fits guidelines
- package version fits guidelines
- package builds on x86_64-linux
- executables tested on x86_64-linux
-
meta.description
is set and fits guidelines -
meta.license
fits upstream license -
meta.platforms
is set -
meta.maintainers
is set - build time only dependencies are declared in
nativeBuildInputs
- source is fetched using the appropriate function
- the list of
phases
is not overridden - when a phase (like
installPhase
) is overridden it starts withrunHook preInstall
and ends withrunHook postInstall
. - patches have a comment describing either the upstream URL or a reason why the patch wasn't upstreamed
- patches that are remotely available are fetched rather than vendored
LGTM, thanks!
Thank you! |
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/548962c50b8afad7b8c820c1d6e21dc8394d6e65' (2023-11-04) → 'github:nix-community/disko/2d7d77878c5d70f66f3d676ff66708d8d4f9d7df' (2023-11-12) • Updated input 'home-manager': 'github:nix-community/home-manager/c067d57fc4552835987fd7611c3a6741ee32ebd5' (2023-11-06) → 'github:nix-community/home-manager/8cedd63eede4c22deb192f1721dd67e7460e1ebe' (2023-11-24) • Updated input 'hyprland-contrib': 'github:hyprwm/contrib/e2cb3559cf435bd26585405de0c6b23855786337' (2023-11-05) → 'github:hyprwm/contrib/11bbb96e44818f67e5259c1788231f30fe5fe2e7' (2023-11-20) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/40bcc678e41285dbe0d9a306baf2c2123fd19027' (2023-11-05) → 'github:fufexan/nix-gaming/9ed5f7f0e6f14fb8956ddb8c0ed345d6b4aee2c0' (2023-11-25) • Updated input 'nix-gaming/nixpkgs': 'github:NixOS/nixpkgs/9d5d25bbfe8c0297ebe85324addcb5020ed1a454' (2023-11-04) → 'github:NixOS/nixpkgs/7414e9ee0b3e9903c24d3379f577a417f0aae5f1' (2023-11-16) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/5388a4002179d6778d212dc2fdcc7ac3fdbd5b65' (2023-11-05) → 'github:Mic92/nix-index-database/27920146e671a0d565aaa7452907383be14d8d82' (2023-11-19) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/85f1ba3e51676fa8cc604a3d863d729026a6b8eb' (2023-11-04) → 'github:NixOS/nixpkgs/19cbff58383a4ae384dea4d1d0c823d72b49d614' (2023-11-22) • Updated input 'spicetify-nix': 'github:the-argus/spicetify-nix/652aac2be378a6955c207b91ace8b0c9d687e743' (2023-11-06) → 'github:the-argus/spicetify-nix/3c702af1f717b7876fac08809201b1368d0d956c' (2023-11-14) • Updated input 'stylix': 'github:danth/stylix/07795247c2db08711bbd9503e01752c315be0805' (2023-11-01) → 'github:danth/stylix/a15c3196c1d620c18cbee8229092598384a89fef' (2023-11-18) • Updated input 'unimatrix-patch': 'NixOS/nixpkgs#264716' → 'NixOS/nixpkgs#264716' • Updated input 'unison-nix': 'github:ceedubs/unison-nix/8dd8294dff43b98d2cb46a3c5d99f42eae9ac74a' (2023-10-01) → 'github:ceedubs/unison-nix/378814b43702c78b8daca0e6f9444e73cb6c9955' (2023-11-15)
Description of changes
Adds unimatrix, a program that displays the falling code from "The Matrix" in a terminal. It is similar to cmatrix, but uses Unicode for Japanese characters so that they can be used out of the box.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)