Files
nix-config/packages/python/python-steam/default.nix
mjallen18 35154eb694 fix nfc
2026-03-31 14:00:04 -05:00

28 lines
569 B
Nix

{
lib,
namespace,
pkgs,
python3Packages,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
version = selected.variables.version;
in
python3Packages.buildPythonPackage {
pname = "steam";
inherit version;
pyproject = false;
src = sources."python-steam";
buildInputs = with python3Packages; [ setuptools ];
doCheck = false; # no tests in the PyPI tarball
}