1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 requests,
6}:
7
8buildPythonPackage rec {
9 pname = "mcuuid";
10 version = "1.1.0";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "clerie";
15 repo = "mcuuid";
16 tag = version;
17 hash = "sha256-YwM7CdZVXpUXKXUzFL3AtoDhekLDIvZ/q8taLsHihNk=";
18 };
19
20 propagatedBuildInputs = [ requests ];
21
22 # upstream code does not provide tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "mcuuid" ];
26
27 meta = with lib; {
28 description = "Getting Minecraft player information from Mojang API";
29 homepage = "https://github.com/clerie/mcuuid";
30 license = with licenses; [ mit ];
31 maintainers = with maintainers; [ clerie ];
32 };
33}