python311Packages.mcuuid: init at 1.1.0

This commit is contained in:
clerie 2023-09-10 20:26:57 +02:00
parent f0b0a2fa2b
commit f84fcfd04b
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

@ -6498,6 +6498,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 { };