gns3-server: remove superfluous pythonOlder
This commit is contained in:
@@ -35,28 +35,23 @@ python3Packages.buildPythonApplication {
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies =
|
||||
with python3Packages;
|
||||
[
|
||||
aiofiles
|
||||
aiohttp
|
||||
aiohttp-cors
|
||||
async-generator
|
||||
distro
|
||||
jinja2
|
||||
jsonschema
|
||||
multidict
|
||||
platformdirs
|
||||
prompt-toolkit
|
||||
psutil
|
||||
py-cpuinfo
|
||||
sentry-sdk
|
||||
truststore
|
||||
yarl
|
||||
]
|
||||
++ lib.optionals (pythonOlder "3.9") [
|
||||
importlib-resources
|
||||
];
|
||||
dependencies = with python3Packages; [
|
||||
aiofiles
|
||||
aiohttp
|
||||
aiohttp-cors
|
||||
async-generator
|
||||
distro
|
||||
jinja2
|
||||
jsonschema
|
||||
multidict
|
||||
platformdirs
|
||||
prompt-toolkit
|
||||
psutil
|
||||
py-cpuinfo
|
||||
sentry-sdk
|
||||
truststore
|
||||
yarl
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
|
||||
rm $out/bin/gns3loopback
|
||||
|
||||
Reference in New Issue
Block a user