scope-lite: explicitly use pname, version
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user