fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
33 lines
712 B
Nix
33 lines
712 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|