mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 22:49:41 +00:00
packages/hrt-time: use finalAttrs
This commit is contained in:
parent
77cbb354f5
commit
d2046634cc
1 changed files with 4 additions and 7 deletions
|
|
@ -3,17 +3,14 @@
|
||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
lib,
|
lib,
|
||||||
}:
|
}:
|
||||||
let
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
rev = "b344ab770e4c08d0bb13c38ea61979b282e24db7";
|
|
||||||
in
|
|
||||||
stdenvNoCC.mkDerivation {
|
|
||||||
pname = "hrt-time";
|
pname = "hrt-time";
|
||||||
version = "unstable-" + lib.substring 0 8 rev;
|
version = "unstable-" + lib.substring 0 8 finalAttrs.src.rev;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ariannelafraise";
|
owner = "ariannelafraise";
|
||||||
repo = "hrt-time";
|
repo = "hrt-time";
|
||||||
inherit rev;
|
rev = "b344ab770e4c08d0bb13c38ea61979b282e24db7";
|
||||||
hash = "sha256-+AhLkcCETVnF6S+ov1oKxhs3M9F6ghyyERoLN3aMMxw=";
|
hash = "sha256-+AhLkcCETVnF6S+ov1oKxhs3M9F6ghyyERoLN3aMMxw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -31,4 +28,4 @@ stdenvNoCC.mkDerivation {
|
||||||
];
|
];
|
||||||
|
|
||||||
meta.mainProgram = "hrt-time";
|
meta.mainProgram = "hrt-time";
|
||||||
}
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue