legendary-gl: move to by-name, modernize (#451006)
This commit is contained in:
@@ -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 { };
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user