2017-09-06 17:28:57 +02:00
|
|
|
{ stdenv, python }:
|
2017-04-13 01:40:33 +02:00
|
|
|
|
2017-09-06 17:28:57 +02:00
|
|
|
let
|
|
|
|
p = python.override {
|
|
|
|
packageOverrides = self: super: {
|
|
|
|
astroid = super.astroid.overridePythonAttrs (oldAttrs: rec {
|
|
|
|
version = "1.4.9";
|
|
|
|
name = "${oldAttrs.pname}-${version}";
|
|
|
|
src = oldAttrs.src.override {
|
|
|
|
inherit version;
|
|
|
|
sha256 = "a483e7891ce3a06dadfc6cb9095b0938aca58940d43576d72e4502b480c085d7";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
pylint = super.pylint.overridePythonAttrs (oldAttrs: rec {
|
|
|
|
version = "1.6.5";
|
|
|
|
name = "${oldAttrs.pname}-${version}";
|
|
|
|
src = oldAttrs.src.override {
|
|
|
|
inherit version;
|
|
|
|
sha256 = "a673984a8dd78e4a8b8cfdee5359a1309d833cf38405008f4a249994a8456719";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
in p.pkgs.buildPythonApplication rec {
|
2017-04-13 01:40:33 +02:00
|
|
|
name = "${pname}-${version}";
|
2017-09-06 17:28:57 +02:00
|
|
|
version = "0.26.1";
|
2017-04-13 01:40:33 +02:00
|
|
|
pname = "conan";
|
|
|
|
|
2017-09-06 17:28:57 +02:00
|
|
|
src = p.pkgs.fetchPypi {
|
2017-04-13 01:40:33 +02:00
|
|
|
inherit pname version;
|
2017-09-06 17:28:57 +02:00
|
|
|
sha256 = "2da5a140a74d912d5561698b8cc5a5e5583b9dbe36623c59b4ce4be586476e7c";
|
2017-04-13 01:40:33 +02:00
|
|
|
};
|
|
|
|
|
2017-09-06 17:28:57 +02:00
|
|
|
propagatedBuildInputs = with p.pkgs; [
|
2017-05-07 12:55:45 +02:00
|
|
|
requests fasteners pyyaml pyjwt colorama patch
|
2017-04-13 01:40:33 +02:00
|
|
|
bottle pluginbase six distro pylint node-semver
|
2017-09-06 17:28:57 +02:00
|
|
|
future pygments mccabe
|
2017-04-13 01:40:33 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
# enable tests once all of these pythonPackages available:
|
|
|
|
# [ nose nose_parameterized mock WebTest codecov ]
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://conan.io;
|
|
|
|
description = "Decentralized and portable C/C++ package manager";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|