python3Packages.moddb: init at 0.8.1
This commit is contained in:
parent
d1c01ddce4
commit
5344bd532d
2 changed files with 49 additions and 0 deletions
pkgs
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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue