mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 18:24:53 +00:00
34 lines
685 B
Nix
34 lines
685 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mcuuid";
|
|
version = "1.1.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "clerie";
|
|
repo = "mcuuid";
|
|
tag = version;
|
|
hash = "sha256-YwM7CdZVXpUXKXUzFL3AtoDhekLDIvZ/q8taLsHihNk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
# upstream code does not provide tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "mcuuid" ];
|
|
|
|
meta = {
|
|
description = "Getting Minecraft player information from Mojang API";
|
|
homepage = "https://github.com/clerie/mcuuid";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ clerie ];
|
|
};
|
|
}
|