packages/hrt-time: use finalAttrs

This commit is contained in:
Primrose 2025-12-31 17:14:31 +01:00
parent 77cbb354f5
commit d2046634cc
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -3,17 +3,14 @@
stdenvNoCC,
lib,
}:
let
rev = "b344ab770e4c08d0bb13c38ea61979b282e24db7";
in
stdenvNoCC.mkDerivation {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "hrt-time";
version = "unstable-" + lib.substring 0 8 rev;
version = "unstable-" + lib.substring 0 8 finalAttrs.src.rev;
src = fetchFromGitHub {
owner = "ariannelafraise";
repo = "hrt-time";
inherit rev;
rev = "b344ab770e4c08d0bb13c38ea61979b282e24db7";
hash = "sha256-+AhLkcCETVnF6S+ov1oKxhs3M9F6ghyyERoLN3aMMxw=";
};
@ -31,4 +28,4 @@ stdenvNoCC.mkDerivation {
];
meta.mainProgram = "hrt-time";
}
})