-
-
Notifications
You must be signed in to change notification settings - Fork 17k
rinf_cli: init at 8.7.2 #413223
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?
rinf_cli: init at 8.7.2 #413223
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.
Welcome to nixpkgs and thank you for your contribution!
Thank you for asking upstream about providing a lockfile.
Let's continue with fetching the crate for now and see what they respond.
I do not see any problems with this derivation and started a nixpkgs-review
run on this PR.
|
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.
Approved automatically following the successful run of nixpkgs-review
.
|
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.
Approved automatically following the successful run of nixpkgs-review
.
It's useful to install this with Nix as part of devshells. I don't have Flutter installed on my system. Instead, I use devshells to install dependencies on a per-project basis. |
@Noah765 hi, is it possible to add older versions too? for example Flutter 3.24 supports only [email protected] and etc. Maybe rinf_cli-7 would be good version to support. Thanks in advance! |
We are not blocking someone's first PR to Nixpkgs with a request for them to maintain multiple versions of the same package. Please overlay this package with an older version if you need compatibility with older versions of Flutter. |
meta = { | ||
mainProgram = "rinf"; | ||
description = "Rust for native business logic, Flutter for flexible and beautiful GUI"; | ||
homepage = "https://rinf.cunarist.com"; |
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.
homepage = "https://rinf.cunarist.com"; | |
homepage = "https://rinf.cunarist.com"; | |
changelog = "https://github.com/cunarist/rinf/releases/tag/v${version}"; |
From @aljazerzen's PR.
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.
Done
pname = "rinf_cli"; | ||
version = "8.7.2"; | ||
|
||
src = fetchCrate { |
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.
It might be worth asking upstream to commit Cargo.Lock
per the instructions of the Cargo Book and fetching from GitHub instead, but if they're unresponsive, this isn't blocking.
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.
Nevermind, missed cunarist/rinf#640. Let's wait a bit for a reply.
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.
I already asked here
pkgs/by-name/ri/rinf_cli/package.nix
Outdated
|
||
meta = { | ||
mainProgram = "rinf"; | ||
description = "Rust for native business logic, Flutter for flexible and beautiful GUI"; |
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.
description = "Rust for native business logic, Flutter for flexible and beautiful GUI"; | |
description = "Framework for creating cross-platform Rust apps leveraging Flutter"; |
Per the documentation, the meta.description
attribute should avoid subjective/editorialised language and be objective.
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.
Done
I don't think that it is worth maintaining multiple versions of CLI tools like this one just for compatibility, as that would overcrowd nixpkgs with endless amounts of legacy package versions. |
0c62b2d
to
449e36d
Compare
Rinf is a framework for creating cross-platform Rust apps by using Flutter as the UI layer. The project consists of a Dart package, a Rust crate, and a CLI tool that generates Dart code from Rust structs.
Closes #342071
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.