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

it-tools: init at 2024.10.22-7ca5933 #350285

Merged
merged 2 commits into from
Nov 6, 2024
Merged

it-tools: init at 2024.10.22-7ca5933 #350285

merged 2 commits into from
Nov 6, 2024

Conversation

akotro
Copy link
Contributor

@akotro akotro commented Oct 21, 2024

Add it-tools, a website with useful tools for developers and people working in IT.

Fixes #348389 .

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 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.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label Oct 21, 2024
@akotro
Copy link
Contributor Author

akotro commented Oct 21, 2024

Hello, this is my first time contributing to nixpkgs, so please let me know if there is anything I've missed, thanks!

@NixOSInfra NixOSInfra added the 12. first-time contribution This PR is the author's first one; please be gentle! label Oct 21, 2024
@akotro akotro force-pushed the it-tools branch 2 times, most recently from fc9ed4f to 80ab88f Compare October 21, 2024 17:48
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 labels Oct 21, 2024
@akotro akotro force-pushed the it-tools branch 2 times, most recently from 80ab88f to b566f7c Compare October 29, 2024 16:16
@akotro akotro changed the title it-tools: init at 2024.5.13-a0bc346 it-tools: init at 2024.10.22-7ca5933 Oct 29, 2024
Copy link
Member

@FliegendeWurst FliegendeWurst left a comment

Choose a reason for hiding this comment

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

Can't review at the moment due to #353709

Copy link
Member

@Atemu Atemu left a comment

Choose a reason for hiding this comment

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

A few minor things and questions but the diff LGTM.

@74k1 could you verify that this works as expected?

Comment on lines +29 to +35
buildPhase = ''
runHook preBuild

pnpm build

runHook postBuild
'';
Copy link
Member

Choose a reason for hiding this comment

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

I'm not very familiar with pnpm but doesn't our hook run this by default, making this redundant?

cc @Scrumplex

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From my testing, this does not seem to be the case, but I can obviously be corrected by someone more knowledgeable.

Comment on lines +37 to +44
installPhase = ''
runHook preInstall

mkdir -p $out/lib
cp -R ./dist/* $out/lib/

runHook postInstall
'';
Copy link
Member

Choose a reason for hiding this comment

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

Same question here.

maintainers/maintainer-list.nix Outdated Show resolved Hide resolved
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin labels Nov 6, 2024
@74k1
Copy link
Contributor

74k1 commented Nov 6, 2024

Hi @Atemu
Builds fine on my end (nix build github:akotro/nixpkgs/it-tools#it-tools) & has the expected output. I'm able to run & use it with http-server in the result/lib path.
I would love to see a NixOS module / service coming along with it.
Great work so far! LGTM ❤️

@Atemu
Copy link
Member

Atemu commented Nov 6, 2024

That's exactly what I wanted to know, thanks :)

@Atemu Atemu merged commit b0328f1 into NixOS:master Nov 6, 2024
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 10.rebuild-linux: 1-10 10.rebuild-linux: 1 11.by: package-maintainer This PR was created by the maintainer of 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.

Package request: nixos/it-tools
5 participants