aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pytmx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pytmx/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pytmx/default.nix16
1 files changed, 5 insertions, 11 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pytmx/default.nix b/nixpkgs/pkgs/development/python-modules/pytmx/default.nix
index 0745aacc378..aa6eecfdeb5 100644
--- a/nixpkgs/pkgs/development/python-modules/pytmx/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/pytmx/default.nix
@@ -2,32 +2,26 @@
buildPythonPackage rec {
pname = "pytmx";
- version = "3.21.7";
+ version = "3.22.0";
src = fetchFromGitHub {
# The release was not git tagged.
owner = "bitcraft";
repo = "PyTMX";
- rev = "38519b94ab9a2db7cacb8e18de4d83750ec6fac2";
- sha256 = "0p2gc6lgian1yk4qvhbkxfkmndf9ras70amigqzzwr02y2jvq7j8";
+ rev = "187fd429dadcdc5828e78e6748a983aa1434e4d2";
+ sha256 = "0480pr61v54bwdyzb983sk0fqkyfbcgrdn8k11yf1yck4zb119gc";
};
propagatedBuildInputs = [ pygame pyglet pysdl2 six ];
- # The tests are failing for Python 2.7.
- doCheck = isPy3k;
checkPhase = ''
- # The following test imports an example file from the current working
- # directory. Thus, we're cd'ing into the test directory.
-
- cd tests/
- python -m unittest test_pytmx
+ python -m unittest tests.pytmx.test_pytmx
'';
meta = with lib; {
homepage = "https://github.com/bitcraft/PyTMX";
description = "Python library to read Tiled Map Editor's TMX maps";
license = licenses.lgpl3;
- maintainers = with maintainers; [ geistesk ];
+ maintainers = with maintainers; [ oxzi ];
};
}