-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
re-flex_3: inits at version 3.2.11 #381176
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
base: master
Are you sure you want to change the base?
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.
Otherwise LGTM. Thanks!
dbaf7ae
to
bcf2ec6
Compare
hello @ethancedwards8 , it should be fixed. |
hello @Tert0 , it should be fixed. |
Some suggestions: diff --git a/pkgs/by-name/re/re-flex_3/package.nix b/pkgs/by-name/re/re-flex_3/package.nix
index 8b2a9eb787a9..491fc6ca74e2 100644
--- a/pkgs/by-name/re/re-flex_3/package.nix
+++ b/pkgs/by-name/re/re-flex_3/package.nix
@@ -1,7 +1,9 @@
{
lib,
- fetchFromGitHub,
stdenv,
+ fetchFromGitHub,
+ versionCheckHook,
+ nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -23,9 +25,16 @@ stdenv.mkDerivation (finalAttrs: {
"dev"
];
+ nativeInstallCheckInputs = [ versionCheckHook ];
+ doInstallCheck = true;
+ versionCheckProgram = "${placeholder "bin"}/bin/reflex";
+ versionCheckProgramArg = "--version";
+
+ passthru.updateScript = nix-update-script {};
+
meta = {
description = ''
- High-performance C++ regex library and lexical analyzer generator with Unicode support.
+ High-performance C++ regex library and lexical analyzer generator with Unicode support
'';
longDescription = ''
High-performance C++ regex library and lexical analyzer generator with Unicode support.
@@ -33,11 +42,11 @@ stdenv.mkDerivation (finalAttrs: {
Seamlessly integrates with Bison and other parsers.
'';
homepage = "https://www.genivia.com/reflex.html";
+ changelog = "https://github.com/Genivia/RE-flex?tab=readme-ov-file#changelog";
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ m1dugh ];
mainProgram = "reflex";
- changelog = "https://github.com/Genivia/RE-flex?tab=readme-ov-file#changelog";
};
}) |
hello @Tert0 , If I recall well |
Does not seem to be the case:
After adding nix-update-script:
The overlays does not change the packages: |
Ok, seems strange as I already received nixpkgs update bot MR for other packages without this line. |
Should be done @Tert0 |
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.
What is the difference to https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/re/re-flex/package.nix and why do we need an older version?
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/
)Add a 👍 reaction to pull requests you find important.