about summary refs log tree commit diff
path: root/pkgs/development/python-modules/litemapy/default.nix
blob: 38a234321e0731daf7a46b00c370701a85b7c869 (plain) (blame)
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
{
  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 ];
  };
}