nix-community / nixpkgs-pytools

Tools for removing the tedious nature of creating nixpkgs derivations [maintainer=@costrouc]
MIT License
45 stars 9 forks source link

python-package-init can't process utm package #12

Closed alexvorobiev closed 4 years ago

alexvorobiev commented 5 years ago

Trying to import utm (https://github.com/Turbo87/utm):

$ python-package-init utm
utm None
usage: python-package-init [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: python-package-init --help [cmd1 cmd2 ...]
   or: python-package-init --help-commands
   or: python-package-init cmd --help

error: invalid command 'utm'
costrouc commented 4 years ago

Try running with a newer version of nixpkgs-pytools older versions has issues with this. It works for me with the newest version.

nix-shell -p nixpkgs-pytools --run "python-package-init utm"

Did that work for you?

alexvorobiev commented 4 years ago

Yes, that works, thanks!