NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.64k stars 13.8k forks source link

Projector installer #138436

Open kirinnee opened 3 years ago

kirinnee commented 3 years ago

Project description Install Projector, a remote JetBrains IDE

Metadata

kirinnee commented 2 years ago

I have tried to use buildPythonPackage from python3Packages and it seems to raise problems, possibly due to setup.py downloading stuff from the URL:

{ nixpkgs ? import <nixpkgs> { }, pyPkgs ? nixpkgs.pkgs.python3Packages }:

with nixpkgs;
pyPkgs.buildPythonPackage rec {
  pname = "projector-installer";
  version = "1.6.0";

  src = pyPkgs.fetchPypi {
    inherit version pname;
    sha256 = "3c10512516bf3d73fe9e91a851d684a2f8a470a83cfc79ba8f6aa6a22ecea567";
  };
  propagatedBuildInputs = [ 
    pyPkgs.netifaces
    pyPkgs.click
    xorg.libXrender 
    xorg.libXext 
    less 
    xorg.libXtst 
    freetype 
  ];
}

Logs:

this derivation will be built:
  /nix/store/chnrzn42m2iws3ra73raqj35b6v1vxdf-python3.8-projector-installer-1.6.0.drv
building '/nix/store/chnrzn42m2iws3ra73raqj35b6v1vxdf-python3.8-projector-installer-1.6.0.drv'...
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing setuptools-check-hook
Using setuptoolsCheckPhase
unpacking sources
unpacking source archive /nix/store/4z8hqcxz05m4s7lhmd3y8cavsmv7hy9m-projector-installer-1.6.0.tar.gz
source root is projector-installer-1.6.0
setting SOURCE_DATE_EPOCH to timestamp 1642412749 of file projector-installer-1.6.0/setup.cfg
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/projector_installer
copying projector_installer/global_config.py -> build/lib/projector_installer
copying projector_installer/utils.py -> build/lib/projector_installer
copying projector_installer/dialogs.py -> build/lib/projector_installer
copying projector_installer/projector_updates.py -> build/lib/projector_installer
copying projector_installer/license.py -> build/lib/projector_installer
copying projector_installer/log_utils.py -> build/lib/projector_installer
copying projector_installer/version.py -> build/lib/projector_installer
copying projector_installer/timeout.py -> build/lib/projector_installer
copying projector_installer/ide_update.py -> build/lib/projector_installer
copying projector_installer/products.py -> build/lib/projector_installer
copying projector_installer/certificate_chain.py -> build/lib/projector_installer
copying projector_installer/run_config.py -> build/lib/projector_installer
copying projector_installer/actions.py -> build/lib/projector_installer
copying projector_installer/cmd.py -> build/lib/projector_installer
copying projector_installer/secure_config.py -> build/lib/projector_installer
copying projector_installer/__init__.py -> build/lib/projector_installer
copying projector_installer/config_generator.py -> build/lib/projector_installer
copying projector_installer/defaults.py -> build/lib/projector_installer
copying projector_installer/apps.py -> build/lib/projector_installer
running egg_info
writing projector_installer.egg-info/PKG-INFO
writing dependency_links to projector_installer.egg-info/dependency_links.txt
writing entry points to projector_installer.egg-info/entry_points.txt
writing requirements to projector_installer.egg-info/requires.txt
writing top-level names to projector_installer.egg-info/top_level.txt
warning: Failed to find the configured license file 'LICENSE.txt'
reading manifest file 'projector_installer.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching '__pycache__'
writing manifest file 'projector_installer.egg-info/SOURCES.txt'
copying projector_installer/LICENSE.txt -> build/lib/projector_installer
copying projector_installer/compatible_ide.json -> build/lib/projector_installer
creating build/lib/projector_installer/bundled
creating build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/Java-WebSocket-1.5.2.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/annotations-13.0.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/dnsjava-3.4.3.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/javassist-3.28.0-GA.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/jsoup-1.14.3.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/kotlin-reflect-1.6.10.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/kotlin-stdlib-1.6.10.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/kotlin-stdlib-common-1.6.10.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/kotlin-stdlib-jdk7-1.6.10.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/kotlin-stdlib-jdk8-1.6.10.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/kotlinx-serialization-core-jvm-1.3.1.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/kotlinx-serialization-json-jvm-1.3.1.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/kotlinx-serialization-protobuf-jvm-1.3.1.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/projector-awt-1.6.0.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/projector-common-jvm-bc829b35.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/projector-ij-common-bc829b35.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/projector-server-1.6.0.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/projector-server-core-bc829b35.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/projector-util-agent-bc829b35.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/projector-util-loading-bc829b35.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/projector-util-logging-jvm-bc829b35.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/slf4j-api-1.7.32.jar -> build/lib/projector_installer/bundled/server
copying projector_installer/bundled/server/slf4j-simple-1.7.32.jar -> build/lib/projector_installer/bundled/server
installing to build/bdist.linux-x86_64/wheel
running install
error: <urlopen error [Errno -2] Name or service not known>
error: builder for '/nix/store/chnrzn42m2iws3ra73raqj35b6v1vxdf-python3.8-projector-installer-1.6.0.drv' failed with exit code 1

Any recommendations?