rayfish version is now tracked by npins
This commit is contained in:
parent
c08f7b8540
commit
11315b90d9
2 changed files with 24 additions and 5 deletions
|
|
@ -42,6 +42,22 @@
|
|||
"type": "Tarball",
|
||||
"url": "https://releases.nixos.org/nixos/26.05/nixos-26.05.2462.e8210c649915/nixexprs.tar.xz",
|
||||
"hash": "sha256-2khLdWQw7Z9psJUEORs8dKPwivbhLbiBTas81jEZtJs="
|
||||
},
|
||||
"rayfish": {
|
||||
"type": "GitRelease",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "rayfish",
|
||||
"repo": "rayfish"
|
||||
},
|
||||
"pre_releases": false,
|
||||
"version_upper_bound": null,
|
||||
"release_prefix": null,
|
||||
"submodules": false,
|
||||
"version": "v0.2.0",
|
||||
"revision": "21239b1c2007e42eba1552ed2c2cf4bb0d1b7bc3",
|
||||
"url": "https://api.github.com/repos/rayfish/rayfish/tarball/refs/tags/v0.2.0",
|
||||
"hash": "sha256-Y9XQt6HhGWXI7Uwpw4TjqMavqEE/+pa0gEhQ0Gh/SqM="
|
||||
}
|
||||
},
|
||||
"version": 7
|
||||
|
|
|
|||
|
|
@ -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=";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue