Files
nixpkgs/pkgs/development/python-modules/srctools/default.nix
T
Martin Weinelt 0a490256da python3Packages.srctools: 2.6.1 -> 2.6.2
This commit was automatically generated using update-python-libraries.
2026-02-01 17:38:59 +01:00

55 lines
915 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
meson,
meson-python,
cython,
attrs,
useful-types,
pytestCheckHook,
pillow,
pytest-regressions,
dirty-equals,
}:
let
pname = "srctools";
version = "2.6.2";
in
buildPythonPackage {
inherit pname version;
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-c+NmrTntpNTEI782aoC4bNpoKpWe4cqSAkxpYS5HH30=";
};
build-system = [
meson
meson-python
cython
];
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 ];
};
}