9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
32 lines
745 B
Nix
32 lines
745 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, nbtlib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "litemapy";
|
|
version = "0.7.2b0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SmylerMC";
|
|
repo = "litemapy";
|
|
rev = "v${version}";
|
|
hash = "sha256-VfEo/JLeU17bEkvc8oZYfq19RsHl6QvKv0sGZYQjYhE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
nbtlib
|
|
];
|
|
|
|
pythonImportsCheck = [ "litemapy" ];
|
|
|
|
meta = with lib; {
|
|
description = "A Python library to read and edit Litematica's schematic file format";
|
|
homepage = "https://github.com/SmylerMC/litemapy";
|
|
changelog = "https://github.com/SmylerMC/litemapy/blob/${src.rev}/CHANGELOG.md";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ gdd ];
|
|
};
|
|
}
|