Merge pull request #254444 from clerie/clerie/mcuuid-1.1.0

python311Packages.mcuuid: init at 1.1.0
This commit is contained in:
OTABI Tomoya 2023-09-13 08:50:51 +09:00 committed by GitHub
commit 847296839e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "mcuuid";
version = "1.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "clerie";
repo = "mcuuid";
rev = "refs/tags/${version}";
hash = "sha256-YwM7CdZVXpUXKXUzFL3AtoDhekLDIvZ/q8taLsHihNk=";
};
propagatedBuildInputs = [
requests
];
# upstream code does not provide tests
doCheck = false;
pythonImportsCheck = [
"mcuuid"
];
meta = with lib; {
description = "Getting Minecraft player information from Mojang API";
homepage = "https://github.com/clerie/mcuuid";
license = with licenses; [ mit ];
maintainers = with maintainers; [ clerie ];
};
}

View File

@ -6508,6 +6508,8 @@ self: super: with self; {
mcstatus = callPackage ../development/python-modules/mcstatus { };
mcuuid = callPackage ../development/python-modules/mcuuid { };
md-toc = callPackage ../development/python-modules/md-toc { };
mdx-truly-sane-lists = callPackage ../development/python-modules/mdx-truly-sane-lists { };