Unverified Commit 7cf19f38 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

alice-lg: Adopting package and refactoring (#350031)

parents 4d40360d a7dfd9f1
Loading
Loading
Loading
Loading
+24 −14
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, buildGoModule
, fetchYarnDeps
, stdenv
, yarn
, nodejs
, nixosTests
, fixup-yarn-lock
{
  lib,
  fetchFromGitHub,
  buildGoModule,
  fetchYarnDeps,
  stdenv,
  gitUpdater,
  yarn,
  nodejs,
  nixosTests,
  fixup-yarn-lock,
}:

buildGoModule rec {
@@ -32,7 +34,12 @@ buildGoModule rec {
      hash = "sha256-PwByNIegKYTOT8Yg3nDMDFZiLRVkbX07z99YaDiBsIY=";
    };

    nativeBuildInputs = [ nodejs yarn fixup-yarn-lock ];
    nativeBuildInputs = [
      nodejs
      yarn
      fixup-yarn-lock
    ];

    configurePhase = ''
      runHook preConfigure

@@ -74,14 +81,17 @@ buildGoModule rec {
  subPackages = [ "cmd/alice-lg" ];
  doCheck = false;

  passthru.tests = nixosTests.alice-lg;
  passthru = {
    tests = nixosTests.alice-lg;
    updateScript = gitUpdater { };
  };

  meta = with lib; {
  meta = {
    homepage = "https://github.com/alice-lg/alice-lg";
    description = "Looking-glass for BGP sessions";
    changelog = "https://github.com/alice-lg/alice-lg/blob/main/CHANGELOG.md";
    license = licenses.bsd3;
    maintainers = [ ];
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ stv0g ];
    mainProgram = "alice-lg";
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -1604,8 +1604,6 @@ with pkgs;
  inherit (recurseIntoAttrs (callPackage ../tools/package-management/akku { }))
    akku akkuPackages;
  alice-lg = callPackage ../servers/alice-lg{ };
  alice-tools = callPackage ../tools/games/alice-tools {
    withGUI = false;
  };