Files
nixpkgs/pkgs/development/python-modules/srctools/default.nix
Different eff700051b python3Packages.srctools: init at 2.6.0
srctools provides modules for working with Valve's Source Engine file formats
2025-07-05 09:08:29 +10:00

55 lines
927 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
meson,
meson-python,
cython_3_1,
attrs,
useful-types,
pytestCheckHook,
pillow,
pytest-regressions,
dirty-equals,
}:
let
pname = "srctools";
version = "2.6.0";
in
buildPythonPackage {
inherit pname version;
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-QHPRSgu3i443kLeLeJXVpPP0hqMbsi4lScAYHrrfWEM=";
};
build-system = [
meson
meson-python
cython_3_1
];
dependencies = [
attrs
useful-types
];
nativeCheckInputs = [
pytestCheckHook
pillow
pytest-regressions
dirty-equals
];
pythonImportsCheck = [ "srctools" ];
meta = {
description = "Modules for working with Valve's Source Engine file formats";
homepage = "https://github.com/TeamSpen210/srctools";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ different-name ];
};
}