gogdl: init at 0.3

This commit is contained in:
Aidan Gauland 2022-09-06 21:10:47 +12:00
parent be183848ce
commit d63d265c4e
No known key found for this signature in database
GPG Key ID: 16E68DD2D0E77C91
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
, pythonOlder
, setuptools
, requests
}:
buildPythonApplication rec {
pname = "gogdl";
version = "0.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "Heroic-Games-Launcher";
repo = "heroic-gogdl";
rev = "v${version}";
sha256 = "sha256-lVNvmdUK7rjSNVdhDuSxyfuEw2FeZt0rVf9pdtsfgqE=";
};
disabled = pythonOlder "3.8";
propagatedBuildInputs = [
setuptools
requests
];
pythonImportsCheck = [ "gogdl" ];
meta = with lib; {
description = "GOG Downloading module for Heroic Games Launcher";
homepage = "https://github.com/Heroic-Games-Launcher/heroic-gogdl";
license = with licenses; [ gpl3 ];
maintainers = with maintainers; [ aidalgol ];
};
}

View File

@ -33583,6 +33583,8 @@ with pkgs;
gnushogi = callPackage ../games/gnushogi { };
gogdl = python3Packages.callPackage ../games/gogdl { };
gogui = callPackage ../games/gogui { };
gscrabble = python3Packages.callPackage ../games/gscrabble { };