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