blob: aa1c91acd8d2e18fc14bccde500a6ca17825548f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
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 = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ clerie ];
};
}
|