selene: cleanup

This commit is contained in:
liberodark
2025-11-05 10:06:04 +01:00
parent 394be911fa
commit 6c0ef9eb87
+5 -5
View File
@@ -7,15 +7,15 @@
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "selene";
version = "0.29.0";
src = fetchFromGitHub {
owner = "kampfkarren";
repo = "selene";
rev = version;
sha256 = "sha256-/KMLOZtCdvv76BDGj1oM6Q93cX6yPE4E5ZM+Xy6yRxA=";
tag = finalAttrs.version;
hash = "sha256-/KMLOZtCdvv76BDGj1oM6Q93cX6yPE4E5ZM+Xy6yRxA=";
};
cargoHash = "sha256-RlD4CbLJpmOSQJCMaXFC7/83qlPpnzd2wBn3xNu1yQ0=";
@@ -34,8 +34,8 @@ rustPlatform.buildRustPackage rec {
description = "Blazing-fast modern Lua linter written in Rust";
mainProgram = "selene";
homepage = "https://github.com/kampfkarren/selene";
changelog = "https://github.com/kampfkarren/selene/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/kampfkarren/selene/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mpl20;
maintainers = [ ];
};
}
})