summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytmx/default.nix
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
committerRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
commit4bc5fbef9d159e143fb7e2c3231932e6e76f667c (patch)
treee2198f5c552e0667d838b8ec764ddb3a4d8f6dec /pkgs/development/python-modules/pytmx/default.nix
parentjq: fix build with structured-attrs on darwin (diff)
parentMerge pull request #123802 from superherointj/package-virtmanager-bugfix (diff)
downloadnixpkgs-origin/structured-attrs.tar.gz
Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs
Diffstat (limited to 'pkgs/development/python-modules/pytmx/default.nix')
-rw-r--r--pkgs/development/python-modules/pytmx/default.nix16
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/pytmx/default.nix b/pkgs/development/python-modules/pytmx/default.nix
index 17c18a96c736..6d88f4b636b1 100644
--- a/pkgs/development/python-modules/pytmx/default.nix
+++ b/pkgs/development/python-modules/pytmx/default.nix
@@ -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 ];
};
}