Commit 6c0ef9eb authored by liberodark's avatar liberodark
Browse files

selene: cleanup

parent 394be911
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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 = [ ];
  };
}
})