Skip to content

Instantly share code, notes, and snippets.

@kwohlfahrt
Last active September 19, 2018 13:18
Show Gist options
  • Save kwohlfahrt/dbf4b0c91bc02daf1d8ed67818e7aeaf to your computer and use it in GitHub Desktop.
Save kwohlfahrt/dbf4b0c91bc02daf1d8ed67818e7aeaf to your computer and use it in GitHub Desktop.
Nixpkgs override
these derivations will be built:
/nix/store/0s6j27bv314ci6kr36l0swlylgy6yd86-python3.6-plz-cli-0.1.0.drv
building '/nix/store/0s6j27bv314ci6kr36l0swlylgy6yd86-python3.6-plz-cli-0.1.0.drv'...
unpacking sources
unpacking source archive /nix/store/6b8ps1x22zkck5jkqdm2q390xddvlawa-plz
source root is plz/cli
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file plz/cli/test/test/plz/cli/server_test.py
patching sources
configuring
building
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/plz
creating build/lib/plz/cli
copying src/plz/cli/stop_execution_operation.py -> build/lib/plz/cli
copying src/plz/cli/list_context_operation.py -> build/lib/plz/cli
copying src/plz/cli/kill_instances_operation.py -> build/lib/plz/cli
copying src/plz/cli/ssh_session.py -> build/lib/plz/cli
copying src/plz/cli/run_execution_operation.py -> build/lib/plz/cli
copying src/plz/cli/configuration.py -> build/lib/plz/cli
copying src/plz/cli/last_execution_id_operation.py -> build/lib/plz/cli
copying src/plz/cli/git.py -> build/lib/plz/cli
copying src/plz/cli/parameters.py -> build/lib/plz/cli
copying src/plz/cli/retrieve_measures_operation.py -> build/lib/plz/cli
copying src/plz/cli/rerun_execution_operation.py -> build/lib/plz/cli
copying src/plz/cli/retrieve_history_operation.py -> build/lib/plz/cli
copying src/plz/cli/operation.py -> build/lib/plz/cli
copying src/plz/cli/describe_execution_operation.py -> build/lib/plz/cli
copying src/plz/cli/controller_proxy.py -> build/lib/plz/cli
copying src/plz/cli/exceptions.py -> build/lib/plz/cli
copying src/plz/cli/snapshot.py -> build/lib/plz/cli
copying src/plz/cli/log.py -> build/lib/plz/cli
copying src/plz/cli/show_status_operation.py -> build/lib/plz/cli
copying src/plz/cli/server.py -> build/lib/plz/cli
copying src/plz/cli/list_executions_operation.py -> build/lib/plz/cli
copying src/plz/cli/__init__.py -> build/lib/plz/cli
copying src/plz/cli/logs_operation.py -> build/lib/plz/cli
copying src/plz/cli/retrieve_output_operation.py -> build/lib/plz/cli
copying src/plz/cli/ping_backend_operation.py -> build/lib/plz/cli
copying src/plz/cli/input_data.py -> build/lib/plz/cli
copying src/plz/cli/main.py -> build/lib/plz/cli
creating build/lib/plz/controller
creating build/lib/plz/controller/api
copying ../services/controller/src/plz/controller/api/controller.py -> build/lib/plz/controller/api
copying ../services/controller/src/plz/controller/api/exceptions.py -> build/lib/plz/controller/api
copying ../services/controller/src/plz/controller/api/types.py -> build/lib/plz/controller/api
copying ../services/controller/src/plz/controller/api/__init__.py -> build/lib/plz/controller/api
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/plz
creating build/bdist.linux-x86_64/wheel/plz/controller
creating build/bdist.linux-x86_64/wheel/plz/controller/api
copying build/lib/plz/controller/api/controller.py -> build/bdist.linux-x86_64/wheel/plz/controller/api
copying build/lib/plz/controller/api/exceptions.py -> build/bdist.linux-x86_64/wheel/plz/controller/api
copying build/lib/plz/controller/api/types.py -> build/bdist.linux-x86_64/wheel/plz/controller/api
copying build/lib/plz/controller/api/__init__.py -> build/bdist.linux-x86_64/wheel/plz/controller/api
creating build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/stop_execution_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/list_context_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/kill_instances_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/ssh_session.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/run_execution_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/configuration.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/last_execution_id_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/git.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/parameters.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/retrieve_measures_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/rerun_execution_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/retrieve_history_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/describe_execution_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/controller_proxy.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/exceptions.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/snapshot.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/log.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/show_status_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/server.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/list_executions_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/__init__.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/logs_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/retrieve_output_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/ping_backend_operation.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/input_data.py -> build/bdist.linux-x86_64/wheel/plz/cli
copying build/lib/plz/cli/main.py -> build/bdist.linux-x86_64/wheel/plz/cli
running install_egg_info
running egg_info
creating src/plz_cli.egg-info
writing src/plz_cli.egg-info/PKG-INFO
writing dependency_links to src/plz_cli.egg-info/dependency_links.txt
writing entry points to src/plz_cli.egg-info/entry_points.txt
writing requirements to src/plz_cli.egg-info/requires.txt
writing top-level names to src/plz_cli.egg-info/top_level.txt
writing manifest file 'src/plz_cli.egg-info/SOURCES.txt'
reading manifest file 'src/plz_cli.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/plz_cli.egg-info/SOURCES.txt'
Copying src/plz_cli.egg-info to build/bdist.linux-x86_64/wheel/plz_cli-0.1.0-py3.6.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/plz_cli-0.1.0.dist-info/WHEEL
creating '/build/plz/cli/dist/plz_cli-0.1.0-py3-none-any.whl' and adding '.' to it
adding 'plz/cli/__init__.py'
adding 'plz/cli/configuration.py'
adding 'plz/cli/controller_proxy.py'
adding 'plz/cli/describe_execution_operation.py'
adding 'plz/cli/exceptions.py'
adding 'plz/cli/git.py'
adding 'plz/cli/input_data.py'
adding 'plz/cli/kill_instances_operation.py'
adding 'plz/cli/last_execution_id_operation.py'
adding 'plz/cli/list_context_operation.py'
adding 'plz/cli/list_executions_operation.py'
adding 'plz/cli/log.py'
adding 'plz/cli/logs_operation.py'
adding 'plz/cli/main.py'
adding 'plz/cli/operation.py'
adding 'plz/cli/parameters.py'
adding 'plz/cli/ping_backend_operation.py'
adding 'plz/cli/rerun_execution_operation.py'
adding 'plz/cli/retrieve_history_operation.py'
adding 'plz/cli/retrieve_measures_operation.py'
adding 'plz/cli/retrieve_output_operation.py'
adding 'plz/cli/run_execution_operation.py'
adding 'plz/cli/server.py'
adding 'plz/cli/show_status_operation.py'
adding 'plz/cli/snapshot.py'
adding 'plz/cli/ssh_session.py'
adding 'plz/cli/stop_execution_operation.py'
adding 'plz/controller/api/__init__.py'
adding 'plz/controller/api/controller.py'
adding 'plz/controller/api/exceptions.py'
adding 'plz/controller/api/types.py'
adding 'plz_cli-0.1.0.dist-info/entry_points.txt'
adding 'plz_cli-0.1.0.dist-info/top_level.txt'
adding 'plz_cli-0.1.0.dist-info/WHEEL'
adding 'plz_cli-0.1.0.dist-info/METADATA'
adding 'plz_cli-0.1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
installing
/build/plz/cli/dist /build/plz/cli
Processing ./plz_cli-0.1.0-py3-none-any.whl
Requirement already satisfied: docker>=3.3.0 in /nix/store/zda0y76lqv331ix412rb8j08y933pc0g-python3.6-docker-3.5.0/lib/python3.6/site-packages (from plz-cli==0.1.0) (3.5.0)
Requirement already satisfied: prettytable>=0.7.2 in /nix/store/0jkwrjgnrxxvdzyqwghvxd87q27irc0h-python3.6-prettytable-0.7.1/lib/python3.6/site-packages (from plz-cli==0.1.0) (0.7.2)
Requirement already satisfied: glob2>=0.6 in /nix/store/4783g5mmpsh47k8cgc1nh5x69wdf0fji-python3.6-glob2-0.6/lib/python3.6/site-packages (from plz-cli==0.1.0) (0.6)
Requirement already satisfied: requests>=2.18.4 in /nix/store/66614b4gc9cw1vdyly98ahqdf0aapgb8-python3.6-requests-2.19.1/lib/python3.6/site-packages (from plz-cli==0.1.0) (2.19.1)
Collecting urllib3==1.22 (from plz-cli==0.1.0)
Could not find a version that satisfies the requirement urllib3==1.22 (from plz-cli==0.1.0) (from versions: )
No matching distribution found for urllib3==1.22 (from plz-cli==0.1.0)
note: keeping build directory '/tmp/nix-build-python3.6-plz-cli-0.1.0.drv-33'
builder for '/nix/store/0s6j27bv314ci6kr36l0swlylgy6yd86-python3.6-plz-cli-0.1.0.drv' failed with exit code 1
error: build of '/nix/store/0s6j27bv314ci6kr36l0swlylgy6yd86-python3.6-plz-cli-0.1.0.drv' failed
{ stdenv, python3, buildPythonPackage, fetchPypi, docker, prettytable, python-dateutil, requests, urllib3,
# paramiko deps
python3Packages, pytest, nose }:
let
glob2 = buildPythonPackage rec {
version = "0.6";
pname = "glob2";
src = fetchPypi {
inherit pname version;
sha256 = "1miyz0pjyji4gqrzl04xsxcylk3h2v9fvi7hsg221y11zy3adc7m";
};
};
prettytable_0_7_2 = prettytable.overridePythonAttrs rec {
pname = "prettytable";
version = "0.7.2";
src = fetchPypi {
inherit pname version;
sha256 = "1ndckiniasacfqcdafzs04plskrcigk7vxprr2y34jmpkpf60m1d";
};
};
urllib3_1_22 = urllib3.overridePythonAttrs rec {
pname = "urllib3";
version = "1.22";
src = fetchPypi {
inherit pname version;
sha256 = "0kyvc9zdlxr5r96bng5rhm9a6sfqidrbvvkz64s76qs5267dli6c";
};
};
paramiko_2_4_2 = python3.pkgs.callPackage ./paramiko.nix {};
in buildPythonPackage rec {
name = "${pname}-${version}";
version = "0.1.0";
pname = "plz-cli";
propagatedBuildInputs = [
docker glob2 paramiko_2_4_2 prettytable_0_7_2 python-dateutil requests urllib3_1_22
];
src = ../.;
sourceRoot = "plz/cli";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment