python3Packages.srctools: init at 2.6.0 (#422236)

authored by isabelroses.com and committed by GitHub c9739167 abe87867

+56
+54
pkgs/development/python-modules/srctools/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + meson, 6 + meson-python, 7 + cython_3_1, 8 + attrs, 9 + useful-types, 10 + pytestCheckHook, 11 + pillow, 12 + pytest-regressions, 13 + dirty-equals, 14 + }: 15 + let 16 + pname = "srctools"; 17 + version = "2.6.0"; 18 + in 19 + buildPythonPackage { 20 + inherit pname version; 21 + format = "pyproject"; 22 + 23 + src = fetchPypi { 24 + inherit pname version; 25 + hash = "sha256-QHPRSgu3i443kLeLeJXVpPP0hqMbsi4lScAYHrrfWEM="; 26 + }; 27 + 28 + build-system = [ 29 + meson 30 + meson-python 31 + cython_3_1 32 + ]; 33 + 34 + dependencies = [ 35 + attrs 36 + useful-types 37 + ]; 38 + 39 + nativeCheckInputs = [ 40 + pytestCheckHook 41 + pillow 42 + pytest-regressions 43 + dirty-equals 44 + ]; 45 + 46 + pythonImportsCheck = [ "srctools" ]; 47 + 48 + meta = { 49 + description = "Modules for working with Valve's Source Engine file formats"; 50 + homepage = "https://github.com/TeamSpen210/srctools"; 51 + license = lib.licenses.mit; 52 + maintainers = with lib.maintainers; [ different-name ]; 53 + }; 54 + }
+2
pkgs/top-level/python-packages.nix
··· 17150 17150 17151 17151 squarify = callPackage ../development/python-modules/squarify { }; 17152 17152 17153 + srctools = callPackage ../development/python-modules/srctools { }; 17154 + 17153 17155 sre-yield = callPackage ../development/python-modules/sre-yield { }; 17154 17156 17155 17157 srp = callPackage ../development/python-modules/srp { };