boxfort: use finalAttrs, remove with lib

This commit is contained in:
Sigmanificient
2025-10-26 04:38:43 +01:00
parent 4aa1aa86e2
commit 1bc779bece

View File

@@ -9,14 +9,14 @@
gitMinimal,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "boxfort";
version = "0.1.5";
src = fetchFromGitHub {
owner = "Snaipe";
repo = "BoxFort";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-fgX2Ilb01qa9myuz6yiC67WKeai2m/csncS6u5and3o=";
};
@@ -51,4 +51,4 @@ stdenv.mkDerivation rec {
];
platforms = lib.platforms.unix;
};
}
})