Skip to content

Instantly share code, notes, and snippets.

@Denommus
Created September 6, 2017 14:09
Show Gist options
  • Save Denommus/e43e5ae17e1d6400e0784d899ff41a9f to your computer and use it in GitHub Desktop.
Save Denommus/e43e5ae17e1d6400e0784d899ff41a9f to your computer and use it in GitHub Desktop.
python.mkDerivation {
name = "aloe-0.1.12";
src = pkgs.fetchurl { url = "https://pypi.python.org/packages/ee/6c/8c4e3aa96b87405474608ecfcd64711ce121b4722811b8288fdf62f7c03d/aloe-0.1.12.tar.gz"; sha256 = "2671488ffbde1850dcfd3d45c21ff2081a42dcbd0f34ac5dede66b8c1d5c2b82"; };
doCheck = commonDoCheck;
buildInputs = commonBuildInputs;
propagatedBuildInputs = [
self."blessings"
self."future"
self."gherkin-official"
self."nose"
self."repoze.lru"
];
preConfigure = ''
iconv -f ascii -t UTF-8 README.md > README.md
'';
meta = with pkgs.stdenv.lib; {
homepage = "";
license = licenses.gpl3Plus;
description = "Gherkin runner compatible with Lettuce";
};
};
building path(s) ‘/nix/store/62y8cgs8r4fnmqyssgzxpb9962f8f975-python3.6-aloe-0.1.12’
unpacking sources
unpacking source archive /nix/store/f80lj359i1pz08vwbxcb5sc03j8han7z-aloe-0.1.12.tar.gz
source root is aloe-0.1.12
setting SOURCE_DATE_EPOCH to timestamp 1478646948 of file aloe-0.1.12/setup.cfg
patching sources
configuring
building
Download error on https://pypi.python.org/simple/setuptools_scm/: [Errno -2] Name or service not known -- Some packages may not be found!
Download error on https://pypi.python.org/simple/setuptools-scm/: [Errno -2] Name or service not known -- Some packages may not be found!
Couldn't find index page for 'setuptools_scm' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
No local packages or working download links found for setuptools_scm
Traceback (most recent call last):
File "nix_run_setup.py", line 8, in <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 45, in <module>
tests_require=test_requirements.readlines(),
File "/nix/store/g8prw6jy2yvrww8kfmsdyzja66dbm0sl-python3-3.6.2/lib/python3.6/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/nix/store/bmsgh33fyx6s0ppi5fylzhj8s30sxppn-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/dist.py", line 320, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/nix/store/bmsgh33fyx6s0ppi5fylzhj8s30sxppn-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/dist.py", line 377, in fetch_build_eggs
replace_conflicting=True,
File "/nix/store/bmsgh33fyx6s0ppi5fylzhj8s30sxppn-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/pkg_resources/__init__.py", line 852, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/nix/store/bmsgh33fyx6s0ppi5fylzhj8s30sxppn-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1124, in best_match
return self.obtain(req, installer)
File "/nix/store/bmsgh33fyx6s0ppi5fylzhj8s30sxppn-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1136, in obtain
return installer(requirement)
File "/nix/store/bmsgh33fyx6s0ppi5fylzhj8s30sxppn-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/dist.py", line 445, in fetch_build_egg
return cmd.easy_install(req)
File "/nix/store/bmsgh33fyx6s0ppi5fylzhj8s30sxppn-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 667, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm')
builder for ‘/nix/store/vb0qzchjvadslld5ld346wc856ada32x-python3.6-aloe-0.1.12.drv’ failed with exit code 1
error: build of ‘/nix/store/vb0qzchjvadslld5ld346wc856ada32x-python3.6-aloe-0.1.12.drv’ failed
/usr/bin/nix-shell: failed to build all dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment