Commit f84fcfd0 authored by clerie's avatar clerie
Browse files

python311Packages.mcuuid: init at 1.1.0

parent f0b0a2fa
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };