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

epsonscan2: 6.7.70.0 -> 6.7.70.0-01-2025, pin boost, minor refactor #375409

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

SigmaSquadron
Copy link
Contributor

@SigmaSquadron SigmaSquadron commented Jan 21, 2025

  • Updates the package to the latest release from Epson. Please see the comment in the file for an explanation as to why the version is the way it is.

  • Pins Boost 1.86 because Epson is too good for C++11.

  • Fixes up some minor things in the package.

I should also note that this package is currently failing on master.

Things done

  • Built on platform(s)
    • x86_64-linux
  • 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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

Epson changes their projects without changing their versions because ¯\_(ツ)_/¯.

They also provide no changelogs, because why would they? This seems to at least
remove the CMakeCache.txt that was left in the source code distribution.

Signed-off-by: Fernando Rodrigues <[email protected]>
This software does not use C++11.

Signed-off-by: Fernando Rodrigues <[email protected]>
- Removes a `pname` interpolation.
- Updates the `longDescription` so it uses syntax-highlighting code blocks instead of <literal>.
- Uses `lib.getExe` instead of hardcoding a `/bin/` path.
- Uses the new `lib.systems` standard for declaring platforms.

Signed-off-by: Fernando Rodrigues <[email protected]>
@james-atkins
Copy link
Contributor

Thanks! Looks good to me.

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 375409


x86_64-linux

✅ 1 package built:
  • epsonscan2

# There can be multiple different packages identified by the same
#version, so we also tag them with the month and year shown in
# the Epson download page.
version = "6.7.70.0-01-2025";
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we then use YYYY-MM?


system = stdenv.hostPlatform.system;
system = stdenv.buildPlatform.system;
Copy link
Contributor

Choose a reason for hiding this comment

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

Just as double check as I am still getting confused by the plattforms. We are selecting here which tarballs we want to use for the non free bundles.

Doesnt build platform specify where we are currently building and in the case we are crosscompiling then target the wrong architecture?

I guess at the end it should not make a lot difference as long as no one crosscompiles from aarch to x86, as it's x86 only anyways, but I assume that this is the reason why it was host platform before

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
12.approvals: 1 This PR was reviewed and approved by one reputable person
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants