Unverified Commit 4e46bf6f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

legendary-gl: move to by-name, modernize (#451006)

parents 80cac247 ac0da8e8
Loading
Loading
Loading
Loading
+15 −14
Original line number Diff line number Diff line
@@ -2,43 +2,44 @@
  lib,
  gitUpdater,
  fetchFromGitHub,
  buildPythonApplication,
  pythonOlder,
  requests,
  filelock,
  python3Packages,
}:

buildPythonApplication {
python3Packages.buildPythonApplication {
  pname = "legendary-gl"; # Name in pypi
  version = "0.20.34";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "derrod";
    repo = "legendary";
    rev = "56d439ed2d3d9f34e2b08fa23e627c23a487b8d6";
    sha256 = "sha256-yCHeeEGw+9gtRMGyIhbStxJhmSM/1Fqly7HSRDkZILQ=";
    hash = "sha256-yCHeeEGw+9gtRMGyIhbStxJhmSM/1Fqly7HSRDkZILQ=";
  };

  propagatedBuildInputs = [
  build-system = with python3Packages; [
    setuptools
  ];

  dependencies = with python3Packages; [
    requests
    filelock
  ];

  disabled = pythonOlder "3.8";
  disabled = python3Packages.pythonOlder "3.8";

  # no tests
  doCheck = false;

  pythonImportsCheck = [ "legendary" ];

  meta = with lib; {
  passthru.updateScript = gitUpdater { };

  meta = {
    description = "Free and open-source Epic Games Launcher alternative";
    homepage = "https://github.com/derrod/legendary";
    license = licenses.gpl3;
    maintainers = with maintainers; [ equirosa ];
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ equirosa ];
    mainProgram = "legendary";
  };

  passthru.updateScript = gitUpdater { };
}
+0 −2
Original line number Diff line number Diff line
@@ -13177,8 +13177,6 @@ with pkgs;

  leela-zero = libsForQt5.callPackage ../games/leela-zero { };

  legendary-gl = python3Packages.callPackage ../games/legendary-gl { };

  liquidwar = callPackage ../games/liquidwar {
    guile = guile_2_0;
  };