Skip to content

Comments

embedded-mono-img: init at 0.1.0#391420

Open
kpcyrd wants to merge 1 commit intoNixOS:masterfrom
kpcyrd:embedded-mono-img
Open

embedded-mono-img: init at 0.1.0#391420
kpcyrd wants to merge 1 commit intoNixOS:masterfrom
kpcyrd:embedded-mono-img

Conversation

@kpcyrd
Copy link
Member

@kpcyrd kpcyrd commented Mar 20, 2025

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/)
  • 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.

@github-actions github-actions bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Mar 20, 2025
@kpcyrd kpcyrd force-pushed the embedded-mono-img branch from 7d23849 to fa7ec42 Compare March 20, 2025 09:55
@haylinmoore
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 391420

Logs: https://github.com/haylinmoore/nixpkgs-review-gha/actions/runs/14287501132


x86_64-linux

✅ 1 package built:
  • embedded-mono-img

aarch64-linux

✅ 1 package built:
  • embedded-mono-img

x86_64-darwin

✅ 1 package built:
  • embedded-mono-img

aarch64-darwin

✅ 1 package built:
  • embedded-mono-img

@nixpkgs-ci nixpkgs-ci bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Jul 4, 2025
rustPlatform,
}:

rustPlatform.buildRustPackage rec {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {

maintainers = with lib.maintainers; [ kpcyrd ];
platforms = lib.platforms.all;
};
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
}
})

src = fetchFromGitHub {
owner = "kpcyrd";
repo = "embedded-mono-img";
tag = "v${version}";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
tag = "v${version}";
tag = "v${finalAttrs.version}";

meta = {
description = "Convert .png images to raw binary for embedded_graphics";
homepage = "https://github.com/kpcyrd/embedded-mono-img";
changelog = "https://github.com/kpcyrd/embedded-mono-img/releases/tag/v${version}";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
changelog = "https://github.com/kpcyrd/embedded-mono-img/releases/tag/v${version}";
changelog = "https://github.com/kpcyrd/embedded-mono-img/releases/tag/v${finalAttrs.version}";

hash = "sha256-eOW7DMNNmgJYcScfBwowxAJPSJbwAP55ZgqCAftH36U=";
};

useFetchCargoVendor = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
useFetchCargoVendor = true;

useFetchCargoVendor is non‐optional and enabled by default as of 25.05, remove it

lib,
fetchFromGitHub,
rustPlatform,
}:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
}:
versionCheckHook,
nix-update-script,
}:


useFetchCargoVendor = true;
cargoHash = "sha256-6J2x+v52sL1UbggD3dDz7/kIKgfAjiCf4IvD9c6eGYs=";

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };


rustPlatform.buildRustPackage rec {
pname = "embedded-mono-img";
version = "0.1.0";
Copy link
Contributor

@yzhou216 yzhou216 Aug 8, 2025

Choose a reason for hiding this comment

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

Please bump version to 0.2.0.

@nixpkgs-ci nixpkgs-ci bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Aug 8, 2025
@nixpkgs-ci nixpkgs-ci bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants