fix avahi
This commit is contained in:
@@ -1,14 +1,26 @@
|
||||
{ python3Packages, fetchPypi, ... }:
|
||||
{
|
||||
lib,
|
||||
namespace,
|
||||
pkgs,
|
||||
python3Packages,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib.trivial) importJSON;
|
||||
inherit (lib.${namespace}) selectVariant mkAllSources;
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
versionSpec = importJSON ./version.json;
|
||||
selected = selectVariant versionSpec null null;
|
||||
sources = mkAllSources pkgs selected;
|
||||
src-meta = selected.sources."python-steam";
|
||||
version = selected.variables.version;
|
||||
in
|
||||
python3Packages.buildPythonPackage {
|
||||
pname = "steam";
|
||||
version = "1.4.4";
|
||||
inherit version;
|
||||
pyproject = false;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-K1vWkRwNSnMS9EG40WK52NR8i+u478bIhnOTsDI/pS4=";
|
||||
};
|
||||
src = sources."python-steam";
|
||||
|
||||
buildInputs = with python3Packages; [ setuptools ];
|
||||
|
||||
|
||||
13
packages/python/python-steam/version.json
Normal file
13
packages/python/python-steam/version.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"variables": {
|
||||
"version": "1.4.4"
|
||||
},
|
||||
"sources": {
|
||||
"python-steam": {
|
||||
"fetcher": "pypi",
|
||||
"name": "steam",
|
||||
"hash": "sha256-K1vWkRwNSnMS9EG40WK52NR8i+u478bIhnOTsDI/pS4="
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user