mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
python311Packages.mcuuid: init at 1.1.0
This commit is contained in:
parent
f0b0a2fa2b
commit
f84fcfd04b
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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user