uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
53
pkgs/development/python-modules/pytmx/default.nix
Normal file
53
pkgs/development/python-modules/pytmx/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pygame
|
||||
, pyglet
|
||||
, pysdl2
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytmx";
|
||||
version = "3.31";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bitcraft";
|
||||
repo = "PyTMX";
|
||||
rev = "v${version}";
|
||||
sha256 = "05v8zv06fymvgv332g48kcing4k4ncy2iwgpy1qmxrpin1avyynx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pygame
|
||||
pyglet
|
||||
pysdl2
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pytmx.pytmx"
|
||||
"pytmx.util_pygame"
|
||||
"pytmx.util_pyglet"
|
||||
"pytmx.util_pysdl2"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError on the property name
|
||||
"test_contains_reserved_property_name"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/bitcraft/PyTMX";
|
||||
description = "Python library to read Tiled Map Editor's TMX maps";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ oxzi ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue