scope-lite: explicitly use pname, version

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2026-02-05 11:57:46 -05:00
parent 24e761c79e
commit e3bd20dfa5
+5 -6
View File
@@ -4,16 +4,15 @@
fetchFromGitHub,
lib,
}:
let
stdenv.mkDerivation (finalAttrs: {
pname = "scope-lite";
version = "0.2.0";
in
stdenv.mkDerivation {
name = "scope-lite-${version}";
src = fetchFromGitHub {
owner = "martinmoene";
repo = "scope-lite";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-/Vu3blgyEOQRFqhQjuT/6ukV0iWA0TdPrLnt2Z/gd6E=";
};
@@ -26,4 +25,4 @@ stdenv.mkDerivation {
homepage = "https://github.com/martinmoene/scope-lite";
platforms = lib.platforms.all;
};
}
})