depot/third_party/nixpkgs/pkgs/development/python-modules/litemapy/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

31 lines
743 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 = "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 ];
};
}