Merge pull request #216045 from Kranzes/lutris

lutris: 0.5.12 -> 0.5.13
This commit is contained in:
Ilan Joselevich 2023-05-20 19:37:23 +03:00 committed by GitHub
commit 3751e1e40b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 92 additions and 3 deletions

View file

@ -32,6 +32,8 @@
, pypresence
, pyyaml
, requests
, protobuf
, moddb
# commands that lutris needs
, xrandr
@ -73,13 +75,13 @@ let
in
buildPythonApplication rec {
pname = "lutris-unwrapped";
version = "0.5.12";
version = "0.5.13";
src = fetchFromGitHub {
owner = "lutris";
repo = "lutris";
rev = "refs/tags/v${version}";
sha256 = "sha256-rsiXm7L/M85ot6NrTyy//lMRFlLPJYve9y6Erg9Ugxg=";
rev = "v${version}";
hash = "sha256-ectrfbIkPhIqfhkavDpBCNdLPnGQhCnfFYwTf2IxB50=";
};
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
@ -113,6 +115,8 @@ buildPythonApplication rec {
pypresence
pyyaml
requests
protobuf
moddb
];
postPatch = ''

View file

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonRelaxDepsHook
, beautifulsoup4
, pyrate-limiter
, requests
, toolz
}:
buildPythonPackage rec {
pname = "moddb";
version = "0.8.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "ClementJ18";
repo = "moddb";
rev = "v${version}";
hash = "sha256-Pl/Wc0CL31+ZLFfy6yUfrZzsECifnEpWVGRHZVaFWG4=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
];
propagatedBuildInputs = [
beautifulsoup4
pyrate-limiter
requests
toolz
];
pythonRelaxDeps = true;
pythonImportsCheck = [ "moddb" ];
doCheck = false; # Tests try to access the internet.
meta = with lib; {
description = "A Python scrapper to access ModDB mods, games and more as objects";
homepage = "https://github.com/ClementJ18/moddb";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
};
}

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
}:
buildPythonPackage rec {
pname = "pyrate-limiter";
version = "2.10.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "vutran1710";
repo = "PyrateLimiter";
rev = "v${version}";
hash = "sha256-CPusPeyTS+QyWiMHsU0ii9ZxPuizsqv0wQy3uicrDw0=";
};
nativeBuildInputs = [
poetry-core
];
pythonImportsCheck = [
"pyrate_limiter"
];
meta = with lib; {
description = "Python Rate-Limiter using Leaky-Bucket Algorimth Family";
homepage = "https://github.com/vutran1710/PyrateLimiter";
changelog = "https://github.com/vutran1710/PyrateLimiter/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
};
}

View file

@ -6309,6 +6309,8 @@ self: super: with self; {
mockupdb = callPackage ../development/python-modules/mockupdb { };
moddb = callPackage ../development/python-modules/moddb { };
modeled = callPackage ../development/python-modules/modeled { };
moderngl = callPackage ../development/python-modules/moderngl { };
@ -9105,6 +9107,8 @@ self: super: with self; {
pyramid_multiauth = callPackage ../development/python-modules/pyramid_multiauth { };
pyrate-limiter = callPackage ../development/python-modules/pyrate-limiter { };
pyreadstat = callPackage ../development/python-modules/pyreadstat {
inherit (pkgs.darwin) libiconv;
};