Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 44 lines 902 B view raw
1{ 2 lib, 3 gitUpdater, 4 fetchFromGitHub, 5 buildPythonApplication, 6 pythonOlder, 7 requests, 8 filelock, 9}: 10 11buildPythonApplication { 12 pname = "legendary-gl"; # Name in pypi 13 version = "0.20.34"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "derrod"; 18 repo = "legendary"; 19 rev = "56d439ed2d3d9f34e2b08fa23e627c23a487b8d6"; 20 sha256 = "sha256-yCHeeEGw+9gtRMGyIhbStxJhmSM/1Fqly7HSRDkZILQ="; 21 }; 22 23 propagatedBuildInputs = [ 24 requests 25 filelock 26 ]; 27 28 disabled = pythonOlder "3.8"; 29 30 # no tests 31 doCheck = false; 32 33 pythonImportsCheck = [ "legendary" ]; 34 35 meta = with lib; { 36 description = "Free and open-source Epic Games Launcher alternative"; 37 homepage = "https://github.com/derrod/legendary"; 38 license = licenses.gpl3; 39 maintainers = with maintainers; [ equirosa ]; 40 mainProgram = "legendary"; 41 }; 42 43 passthru.updateScript = gitUpdater { }; 44}