Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 nbtlib, 6}: 7 8buildPythonPackage rec { 9 pname = "litemapy"; 10 version = "0.7.2b0"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "SmylerMC"; 15 repo = "litemapy"; 16 rev = "v${version}"; 17 hash = "sha256-VfEo/JLeU17bEkvc8oZYfq19RsHl6QvKv0sGZYQjYhE="; 18 }; 19 20 propagatedBuildInputs = [ nbtlib ]; 21 22 pythonImportsCheck = [ "litemapy" ]; 23 24 meta = with lib; { 25 description = "Python library to read and edit Litematica's schematic file format"; 26 homepage = "https://github.com/SmylerMC/litemapy"; 27 changelog = "https://github.com/SmylerMC/litemapy/blob/${src.rev}/CHANGELOG.md"; 28 license = licenses.gpl3Only; 29 maintainers = with maintainers; [ gdd ]; 30 }; 31}