Merge pull request #254444 from clerie/clerie/mcuuid-1.1.0
python311Packages.mcuuid: init at 1.1.0
This commit is contained in:
commit
847296839e
36
pkgs/development/python-modules/mcuuid/default.nix
Normal file
36
pkgs/development/python-modules/mcuuid/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user