nixpkgs-suyu/pkgs/development/tools/build-managers/conan/default.nix
Timo Kaufmann 5fdfe61b35 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.
2018-03-13 11:36:45 +01:00

34 lines
940 B
Nix

{ lib, buildPythonApplication, fetchPypi
, requests, fasteners, pyyaml, pyjwt, colorama, patch
, bottle, pluginbase, six, distro11, pylint, node-semver2
, future, pygments, mccabe
, fetchpatch
}:
buildPythonApplication rec {
version = "1.1.1";
pname = "conan";
src = fetchPypi {
inherit pname version;
sha256 = "1k1r401bc9fgmhd5n5f29mjcn346r3zdrm7p28nwpr2r2p3fslrl";
};
propagatedBuildInputs = [
requests fasteners pyyaml pyjwt colorama patch
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; {
homepage = https://conan.io;
description = "Decentralized and portable C/C++ package manager";
license = licenses.mit;
platforms = platforms.linux;
};
}