mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
librashader: use finalAttrs
This commit is contained in:
parent
e863e0fe1e
commit
251dfdfd3e
1 changed files with 3 additions and 3 deletions
|
@ -5,14 +5,14 @@
|
|||
stdenv,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "librashader";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SnowflakePowered";
|
||||
repo = "librashader";
|
||||
rev = "librashader-v0.6.2";
|
||||
tag = "librashader-v${finalAttrs.version}";
|
||||
hash = "sha256-zkvCpQ5Cq3sDOspc12/gPmNi6hn/nBe1UfWrMGi/o0Q=";
|
||||
};
|
||||
|
||||
|
@ -68,4 +68,4 @@ rustPlatform.buildRustPackage {
|
|||
maintainers = with lib.maintainers; [ nadiaholmquist ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue