Unverified Commit 0eeef5bc authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

Merge pull request #327284 from Mic92/starspace

starspace: remove
parents b14c5441 c160df10
Loading
Loading
Loading
Loading
+0 −40
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, boost, zlib }:

stdenv.mkDerivation rec {
  pname = "starspace";
  version = "unstable-2019-12-13";

  src = fetchFromGitHub {
    owner = "facebookresearch";
    repo = pname;
    rev = "8aee0a950aa607c023e5c91cff518bec335b5df5";
    sha256 = "0sc7a37z1skb9377a1qs8ggwrkz0nmpybx7sms38xj05b702kbvj";
  };

  buildInputs = [ boost zlib ];

  makeFlags = [
    "CXX=${stdenv.cc.targetPrefix}c++"
    "BOOST_DIR=${boost.dev}/include"
  ];

  preBuild = ''
    cp makefile_compress makefile
  '';

  installPhase = ''
    mkdir -p $out/bin
    mv starspace $out/bin
  '';

  meta = with lib; {
    # Does not build against gcc-13. No development activity upstream
    # for past few years.
    broken = true;
    description = "General-purpose neural model for efficient learning of entity embeddings";
    homepage = "https://ai.facebook.com/tools/starspace/";
    license = licenses.mit;
    platforms = platforms.unix;
    maintainers = [ maintainers.mausch ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1329,6 +1329,7 @@ mapAliases ({
  ssb = throw "'ssb' has been removed, as it was broken and unmaintained"; # Added 2023-12-21
  ssm-agent = amazon-ssm-agent; # Added 2023-10-17
  starboard-octant-plugin = throw "starboard-octant-plugin has been dropped due to needing octant which is archived"; # Added 2023-09-29
  starspace = throw "starspace has been removed from nixpkgs, as it was broken"; # Added 2024-07-15
  steam-run-native = steam-run; # added 2022-02-21
  StormLib = stormlib; # Added 2024-01-21
  sumneko-lua-language-server = lua-language-server; # Added 2023-02-07
+0 −2
Original line number Diff line number Diff line
@@ -36839,8 +36839,6 @@ with pkgs;
  stardust = callPackage ../games/stardust { };
  starspace = callPackage ../applications/science/machine-learning/starspace { };
  stockfish = callPackage ../games/stockfish { };
  steamPackages = recurseIntoAttrs (callPackage ../games/steam { });