Files
nixpkgs/pkgs/development/python-modules/moddb/default.nix
2026-07-03 03:11:39 +02:00

46 lines
860 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
beautifulsoup4,
pyrate-limiter,
requests,
setuptools_80,
toolz,
}:
buildPythonPackage (finalAttrs: {
pname = "moddb";
version = "0.12.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ClementJ18";
repo = "moddb";
tag = "v${finalAttrs.version}";
hash = "sha256-idBja/W9r8iX69Af+x2TZcLpSLy45fC9pmrMKJZ0RsA=";
};
build-system = [ setuptools_80 ];
dependencies = [
beautifulsoup4
pyrate-limiter
requests
toolz
];
pythonRelaxDeps = true;
pythonImportsCheck = [ "moddb" ];
doCheck = false; # Tests try to access the internet.
meta = {
description = "Python scrapper to access ModDB mods, games and more as objects";
homepage = "https://github.com/ClementJ18/moddb";
license = lib.licenses.mit;
maintainers = [ ];
};
})