mxisd: remove (#119372)

* mxisd: remove

See EOL notice at https://github.com/kamax-matrix/mxisd/blob/master/EOL.md#end-of-life-notice

* mxisd: Add throwing EOL notice

authored by Lorenz Leutgeb and committed by GitHub 0b0cd3f6 49f0d178

+7 -87
+2 -2
nixos/modules/services/networking/mxisd.nix
··· 41 41 42 42 package = mkOption { 43 43 type = types.package; 44 - default = pkgs.mxisd; 45 - defaultText = "pkgs.mxisd"; 44 + default = pkgs.ma1sd; 45 + defaultText = "pkgs.ma1sd"; 46 46 description = "The mxisd/ma1sd package to use"; 47 47 }; 48 48
+4 -13
nixos/tests/mxisd.nix
··· 6 6 }; 7 7 8 8 nodes = { 9 - server_mxisd = args : { 9 + server = args : { 10 10 services.mxisd.enable = true; 11 11 services.mxisd.matrix.domain = "example.org"; 12 12 }; 13 - 14 - server_ma1sd = args : { 15 - services.mxisd.enable = true; 16 - services.mxisd.matrix.domain = "example.org"; 17 - services.mxisd.package = pkgs.ma1sd; 18 - }; 19 13 }; 20 14 21 15 testScript = '' 22 16 start_all() 23 - server_mxisd.wait_for_unit("mxisd.service") 24 - server_mxisd.wait_for_open_port(8090) 25 - server_mxisd.succeed("curl -Ssf 'http://127.0.0.1:8090/_matrix/identity/api/v1'") 26 - server_ma1sd.wait_for_unit("mxisd.service") 27 - server_ma1sd.wait_for_open_port(8090) 28 - server_ma1sd.succeed("curl -Ssf 'http://127.0.0.1:8090/_matrix/identity/api/v1'") 17 + server.wait_for_unit("mxisd.service") 18 + server.wait_for_open_port(8090) 19 + server.succeed("curl -Ssf 'http://127.0.0.1:8090/_matrix/identity/api/v1'") 29 20 ''; 30 21 })
-70
pkgs/servers/mxisd/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, jre, git, gradle_6, perl, makeWrapper }: 2 - 3 - let 4 - name = "mxisd-${version}"; 5 - version = "1.4.6"; 6 - rev = "6e9601cb3a18281857c3cefd20ec773023b577d2"; 7 - 8 - src = fetchFromGitHub { 9 - inherit rev; 10 - owner = "kamax-matrix"; 11 - repo = "mxisd"; 12 - sha256 = "07gpdgbz281506p2431qn92bvdza6ap3jfq5b7xdm7nwrry80pzd"; 13 - }; 14 - 15 - 16 - deps = stdenv.mkDerivation { 17 - name = "${name}-deps"; 18 - inherit src; 19 - nativeBuildInputs = [ gradle_6 perl git ]; 20 - 21 - buildPhase = '' 22 - export MXISD_BUILD_VERSION=${rev} 23 - export GRADLE_USER_HOME=$(mktemp -d); 24 - gradle --no-daemon build -x test 25 - ''; 26 - 27 - # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar) 28 - installPhase = '' 29 - find $GRADLE_USER_HOME/caches/modules-2 -type f -regex '.*\.\(jar\|pom\)' \ 30 - | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \ 31 - | sh 32 - ''; 33 - 34 - dontStrip = true; 35 - 36 - outputHashAlgo = "sha256"; 37 - outputHashMode = "recursive"; 38 - outputHash = "0z9f3w7lfdvbk26kyckpbgas7mi98rjghck9w0kvx3r7k48p5vnv"; 39 - }; 40 - 41 - in 42 - stdenv.mkDerivation { 43 - inherit name src version; 44 - nativeBuildInputs = [ gradle_6 perl makeWrapper ]; 45 - buildInputs = [ jre ]; 46 - 47 - patches = [ ./0001-gradle.patch ]; 48 - 49 - buildPhase = '' 50 - export MXISD_BUILD_VERSION=${rev} 51 - export GRADLE_USER_HOME=$(mktemp -d) 52 - 53 - sed -ie "s#REPLACE#mavenLocal(); maven { url '${deps}' }#g" build.gradle 54 - gradle --offline --no-daemon build -x test 55 - ''; 56 - 57 - installPhase = '' 58 - install -D build/libs/source.jar $out/lib/mxisd.jar 59 - makeWrapper ${jre}/bin/java $out/bin/mxisd --add-flags "-jar $out/lib/mxisd.jar" 60 - ''; 61 - 62 - meta = with lib; { 63 - description = "a federated matrix identity server"; 64 - homepage = "https://github.com/kamax-matrix/mxisd"; 65 - license = licenses.agpl3; 66 - maintainers = with maintainers; [ mguentner ]; 67 - platforms = platforms.all; 68 - }; 69 - 70 - }
+1
pkgs/top-level/aliases.nix
··· 454 454 mpv-with-scripts = self.wrapMpv self.mpv-unwrapped { }; # added 2020-05-22 455 455 multipath_tools = multipath-tools; # added 2016-01-21 456 456 mupen64plus1_5 = mupen64plus; # added 2016-02-12 457 + mxisd = throw "mxisd has been removed from nixpkgs as it has reached end of life, see https://github.com/kamax-matrix/mxisd/blob/535e0a5b96ab63cb0ddef90f6f42c5866407df95/EOL.md#end-of-life-notice . ma1sd may be a suitable alternative."; # added 2021-04-15 457 458 mysqlWorkbench = mysql-workbench; # added 2017-01-19 458 459 nagiosPluginsOfficial = monitoring-plugins; 459 460 ncat = nmap; # added 2016-01-26
-2
pkgs/top-level/all-packages.nix
··· 6106 6106 6107 6107 mxt-app = callPackage ../misc/mxt-app { }; 6108 6108 6109 - mxisd = callPackage ../servers/mxisd { }; 6110 - 6111 6109 naabu = callPackage ../tools/security/naabu { }; 6112 6110 6113 6111 nagstamon = callPackage ../tools/misc/nagstamon {