Skip to content

Comments

asitop: init at 0.0.23#233224

Merged
wegank merged 3 commits intoNixOS:masterfrom
juliusrickert:add-asitop
May 21, 2023
Merged

asitop: init at 0.0.23#233224
wegank merged 3 commits intoNixOS:masterfrom
juliusrickert:add-asitop

Conversation

@juliusrickert
Copy link
Member

@juliusrickert juliusrickert commented May 21, 2023

Description of changes

asitop is a Terminal UI (TUI) which provides visualisations for macOS's powermetrics tool.

https://github.com/tlkh/asitop

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

This PR adds dashing too, a dependency of asitop.

I successfully ran asitop using nix run .#asitop.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label May 21, 2023
@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label May 21, 2023
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels May 21, 2023
@juliusrickert juliusrickert marked this pull request as draft May 21, 2023 13:22
@juliusrickert juliusrickert force-pushed the add-asitop branch 2 times, most recently from 5aef987 to 032c4a0 Compare May 21, 2023 13:25
@juliusrickert juliusrickert marked this pull request as ready for review May 21, 2023 13:26
@juliusrickert
Copy link
Member Author

Sorry for the noise. git push --force-with-lease didn't work and threw me off a bit. 😅

@juliusrickert juliusrickert changed the title darwin.asitop: init at 0.0.23 asitop: init at 0.0.23 May 21, 2023
@ofborg ofborg bot added the 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. label May 21, 2023
@wegank
Copy link
Member

wegank commented May 21, 2023

Result of nixpkgs-review pr 233224 run on aarch64-darwin 1

4 packages built:
  • asitop
  • asitop.dist
  • python310Packages.dashing
  • python310Packages.dashing.dist

@wegank wegank merged commit 6a60386 into NixOS:master May 21, 2023
@juliusrickert juliusrickert deleted the add-asitop branch May 21, 2023 17:54
@Janik-Haag Janik-Haag added the 12.first-time contribution This PR is the author's first one; please be gentle! label Jun 13, 2023
Copy link
Member

@dotlambda dotlambda left a comment

Choose a reason for hiding this comment

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

Please add pythonImportsCheck.

@@ -0,0 +1,27 @@
{ lib
, python3
Copy link
Member

Choose a reason for hiding this comment

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

Not okay in pythonPackages. This would use Python 3.10 for python311Packages.dashing. Fixed in #244135

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you for pointing that out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants