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",
|
"type": "Tarball",
|
||||||
"url": "https://releases.nixos.org/nixos/26.05/nixos-26.05.2462.e8210c649915/nixexprs.tar.xz",
|
"url": "https://releases.nixos.org/nixos/26.05/nixos-26.05.2462.e8210c649915/nixexprs.tar.xz",
|
||||||
"hash": "sha256-2khLdWQw7Z9psJUEORs8dKPwivbhLbiBTas81jEZtJs="
|
"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
|
"version": 7
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,19 @@
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
sources = import ../npins/default.nix;
|
||||||
|
rayfish-repo = sources.rayfish;
|
||||||
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "rayfish";
|
pname = "rayfish";
|
||||||
version = "0.2.0";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rayfish";
|
owner = rayfish-repo.repository.owner;
|
||||||
repo = "rayfish";
|
repo = rayfish-repo.repository.repo;
|
||||||
tag = "v0.2.0";
|
tag = rayfish-repo.version;
|
||||||
hash = "sha256-Y9XQt6HhGWXI7Uwpw4TjqMavqEE/+pa0gEhQ0Gh/SqM=";
|
hash = rayfish-repo.hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-mh4lGbI3GUH32vf0FwVqyh737gCM7nEphQJr1rQed48=";
|
cargoHash = "sha256-mh4lGbI3GUH32vf0FwVqyh737gCM7nEphQJr1rQed48=";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue