Files
mjallen18 70002a19e2 hmm
2026-04-07 18:39:42 -05:00

28 lines
569 B
Nix
Executable File

{
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;
inherit (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
}