conan: Fix build

conan has very strict requirements on the versions of its dependencies.
This patch adds downgraded versinos of node-semver and distro to
statisfy these requirements.
This commit is contained in:
Timo Kaufmann
2018-03-13 11:36:45 +01:00
parent 4443c5f740
commit 5fdfe61b35
4 changed files with 57 additions and 4 deletions
@@ -1,26 +1,28 @@
{ lib, buildPythonApplication, fetchPypi
, requests, fasteners, pyyaml, pyjwt, colorama, patch
, bottle, pluginbase, six, distro, pylint, node-semver
, bottle, pluginbase, six, distro11, pylint, node-semver2
, future, pygments, mccabe
, fetchpatch
}:
buildPythonApplication rec {
version = "0.28.1";
version = "1.1.1";
pname = "conan";
src = fetchPypi {
inherit pname version;
sha256 = "0zf564iqh0099yd779f9fgk21qyp87d7cmgfj34hmncf8y3qh32a";
sha256 = "1k1r401bc9fgmhd5n5f29mjcn346r3zdrm7p28nwpr2r2p3fslrl";
};
propagatedBuildInputs = [
requests fasteners pyyaml pyjwt colorama patch
bottle pluginbase six distro pylint node-semver
bottle pluginbase six distro11 pylint node-semver2
future pygments mccabe
];
# enable tests once all of these pythonPackages available:
# [ nose nose_parameterized mock webtest codecov ]
# update 2018-03-11: only nose_parameterized is missing
doCheck = false;
meta = with lib; {