Unverified Commit f7906ec8 authored by alvar's avatar alvar Committed by GitHub
Browse files

pythonPackages.pytmx: 3.24.0 -> 3.25.0 (#121485)

parent a376d494
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -5,20 +5,26 @@

buildPythonPackage rec {
  pname = "pytmx";
  version = "3.24.0";
  version = "3.25";

  disabled = isPy27;

  src = fetchFromGitHub {
    # The release was not git tagged.
    owner = "bitcraft";
    repo = "PyTMX";
    rev = "eb96efea30d57b731654b2a167d86b8b553b147d";
    sha256 = "1g1j4w75zw76p5f8m5v0hdigdlva2flf0ngyk8nvqcwzcl5vq5wc";
    rev = version;
    sha256 = "0v07zhvzvl2qcqhjzgfzm8hgayq38gaqcxxkyhlq9n0hlk93nm97";
  };

  propagatedBuildInputs = [ pygame pyglet pysdl2 six ];

  pythonImportsCheck = [
    "pytmx.pytmx"
    "pytmx.util_pygame"
    "pytmx.util_pyglet"
    "pytmx.util_pysdl2"
  ];

  checkPhase = ''
    # Change into the test directory due to a relative resource path.
    cd tests/pytmx
@@ -28,7 +34,7 @@ buildPythonPackage rec {
  meta = with lib; {
    homepage = "https://github.com/bitcraft/PyTMX";
    description = "Python library to read Tiled Map Editor's TMX maps";
    license = licenses.lgpl3;
    license = licenses.lgpl3Plus;
    maintainers = with maintainers; [ oxzi ];
  };
}