rayfish version is now tracked by npins

This commit is contained in:
boyreau 2026-07-11 19:54:24 +02:00
commit 11315b90d9
2 changed files with 24 additions and 5 deletions

View file

@ -2,16 +2,19 @@
fetchFromGitHub,
rustPlatform,
}:
let
sources = import ../npins/default.nix;
rayfish-repo = sources.rayfish;
in
rustPlatform.buildRustPackage {
pname = "rayfish";
version = "0.2.0";
src = fetchFromGitHub {
owner = "rayfish";
repo = "rayfish";
tag = "v0.2.0";
hash = "sha256-Y9XQt6HhGWXI7Uwpw4TjqMavqEE/+pa0gEhQ0Gh/SqM=";
owner = rayfish-repo.repository.owner;
repo = rayfish-repo.repository.repo;
tag = rayfish-repo.version;
hash = rayfish-repo.hash;
};
cargoHash = "sha256-mh4lGbI3GUH32vf0FwVqyh737gCM7nEphQJr1rQed48=";