profile
viewpoint

ktosiek/ansible-nix 16

Simple role for setting up multiuser Nix package manager (see http://nixos.org for more)

ktosiek/ansible-supervisord 4

Ansible role to install & configure Supervisord

ktosiek/ansible-nested-connections 1

Experimental connection plugin for stacking some layers over other connection plugins

ktosiek/ansible-shell 1

Interactive ansible shell

ktosiek/ansible-utils 1

Random useful utils

ktosiek/adobe-air-nix 0

Adobe AIR SDK and a simple .air launcher

ktosiek/android-layouts 0

Layouts for HW keyboards

ktosiek/ansible 0

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.

ktosiek/ansible-modules-core 0

Ansible modules - these modules ship with ansible

ktosiek/ansible-nested-lookups 0

A lookup plugin for applying a series of lookups

startedktosiek/ansible-nix

started time in 10 days

startedopencredo/terrahelp

started time in 10 days

startednurkiewicz/polski-w-it

started time in 11 days

fork lhaze/plantuml-libs

A PlantUML lib and a NPM cli tool to design diagrams which focus on several technologies/approaches: Amazon Web Services (AWS), Azure, C4 Model or even EventStorming and more.

fork in 17 days

startedktosiek/pytest-freezegun

started time in 19 days

startedbrentvollebregt/auto-py-to-exe

started time in 22 days

issue openednix-community/pip2nix

Usage example

Hello, following your README, I have been able to generate the python-packages.nix, however, it is not clear to me how I can use it.

Do you have an example somewhere?

My objective is to install the packaged application into a shell (for instance).

created time in 24 days

startedktosiek/pytest-vcr

started time in a month

startedfilipgolonka/prometheus-ecs-discovery

started time in a month

startedfilipgolonka/lambda-edge-terraform

started time in a month

created repositoryCodingDojoSilesia/book-index

created time in a month

startednotminerproduction/open-ethereum-pool

started time in a month

startedktosiek/pytest-freezegun

started time in a month

startedktosiek/pytest-freezegun

started time in a month

issue commentnix-community/pip2nix

ModuleNotFoundError: No module named 'pip._internal.resolve'

Nice. I've finally started using niv, so I do something alike

$ niv add nixos/nixpkgs -n nixos-20.03 -b nixos-20.03
$ niv add nix-community/pip2nix -n pip2nix

let
  sources = import .nix/sources.nix;
  pip2nix = (import (sources.pip2nix + "/release.nix") {                                
    pkgs = import sources."nixpkgs-20.03" {};                                           
  }).pip2nix;

in

mkShell {
  buildInputs = [
    pip2nix.python38
  ];
}
ihsanturk

comment created time in a month

issue commentnix-community/pip2nix

ModuleNotFoundError: No module named 'pip._internal.resolve'

An easy solution for me was to create the following overlay file in ~/.config/nixpkgs/overlays/pip.nix:

self: super: {
  python36 = super.python36.override {
    packageOverrides = python-self: python-super: {
      pip = python-super.pip.overrideAttrs (oldAttrs: rec {
        version = "19.3.1";
        pname = "pip";
        name = "${pname}-${version}";
        patches = [];

        src = python-super.fetchPypi {
          inherit pname version;
          sha256 = "19vyfpkdj2m4svgza3kilk3h25gvm536p2l9d1v527h3q5v7s811";
        };
      });
    };
  };
}
ihsanturk

comment created time in a month

startedaws/containers-roadmap

started time in a month

startedMine2Gether/m2g_android_miner

started time in a month

startedrocket-pool/rocketpool

started time in a month

issue commentnix-community/pip2nix

ModuleNotFoundError: No module named 'pip._internal.resolve'

Thanks. This due to continuing internal changes in pip, which this tool depends on.

Until I find time to update this, I have been using nixos-20.03-branch to run pip2nix myself. Using virtualenv with pip 19.3.1 should also work.

ihsanturk

comment created time in a month

issue openednix-community/pip2nix

ModuleNotFoundError: No module named 'pip._internal.resolve'

❯ pip2nix generate -r requirements.txt
Traceback (most recent call last):
  File "/private/tmp/delete/pip2nix/pip2nix/generate.py", line 23, in <module>
    from pip._internal.resolve import Resolver
ModuleNotFoundError: No module named 'pip._internal.resolve'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/folders/95/vltlhrln2wq6mc1f2ylwm96w0000gn/T/tmp.xr2So4kVRJ/bin/pip2nix"
, line 33, in <module>
    sys.exit(load_entry_point('pip2nix', 'console_scripts', 'pip2nix')())
  File "/nix/store/5kj7m135glz9k134s90jrv6g2wi9kv3a-python3.8-click-7.0/lib/python3.
8/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/nix/store/5kj7m135glz9k134s90jrv6g2wi9kv3a-python3.8-click-7.0/lib/python3.
8/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/nix/store/5kj7m135glz9k134s90jrv6g2wi9kv3a-python3.8-click-7.0/lib/python3.
8/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/nix/store/5kj7m135glz9k134s90jrv6g2wi9kv3a-python3.8-click-7.0/lib/python3.
8/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/nix/store/5kj7m135glz9k134s90jrv6g2wi9kv3a-python3.8-click-7.0/lib/python3.
8/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/private/tmp/delete/pip2nix/pip2nix/cli.py", line 72, in generate
    from pip2nix.main import main
  File "/private/tmp/delete/pip2nix/pip2nix/main.py", line 9, in <module>
    from .generate import NixFreezeCommand
  File "/private/tmp/delete/pip2nix/pip2nix/generate.py", line 25, in <module>
    from pip._internal.legacy_resolve import Resolver
ModuleNotFoundError: No module named 'pip._internal.legacy_resolve'P

requirements.txt:

aiohttp
aiodns
beautifulsoup4
cchardet
dataclasses
elasticsearch
pysocks
pandas>=0.23.0
aiohttp_socks<=0.4.1
schedule
geopy
fake-useragent
googletransx

created time in a month

fork ramirez7/adobe-air-nix

Adobe AIR SDK and a simple .air launcher

fork in a month

startedethereumbook/ethereumbook

started time in a month

startedBlockchainBooks/blockchainbooks.github.io

started time in a month

startedktosiek/pytest-vcr

started time in a month

startedtfsec/tfsec

started time in a month

MemberEvent

startedktosiek/pytest-freezegun

started time in a month

startederjadi/kubecraftadmin

started time in a month

more