Merge pull request #216045 from Kranzes/lutris
lutris: 0.5.12 -> 0.5.13
This commit is contained in:
commit
3751e1e40b
4 changed files with 92 additions and 3 deletions
|
@ -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 = ''
|
||||
|
|
47
pkgs/development/python-modules/moddb/default.nix
Normal file
47
pkgs/development/python-modules/moddb/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
34
pkgs/development/python-modules/pyrate-limiter/default.nix
Normal file
34
pkgs/development/python-modules/pyrate-limiter/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue