2019-01-09 13:29:56 +00:00
|
|
|
{ lib, python3, git }:
|
2018-03-15 11:41:11 +00:00
|
|
|
|
2018-07-24 08:38:55 +01:00
|
|
|
let newPython = python3.override {
|
2018-03-15 11:41:11 +00:00
|
|
|
packageOverrides = self: super: {
|
|
|
|
distro = super.distro.overridePythonAttrs (oldAttrs: rec {
|
2019-01-16 12:23:10 +00:00
|
|
|
version = "1.1.0";
|
2018-03-15 11:41:11 +00:00
|
|
|
src = oldAttrs.src.override {
|
|
|
|
inherit version;
|
|
|
|
sha256 = "1vn1db2akw98ybnpns92qi11v94hydwp130s8753k6ikby95883j";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
node-semver = super.node-semver.overridePythonAttrs (oldAttrs: rec {
|
2019-01-09 13:29:56 +00:00
|
|
|
version = "0.6.1";
|
2018-03-15 11:41:11 +00:00
|
|
|
src = oldAttrs.src.override {
|
|
|
|
inherit version;
|
2019-01-09 13:29:56 +00:00
|
|
|
sha256 = "1dv6mjsm67l1razcgmq66riqmsb36wns17mnipqr610v0z0zf5j0";
|
2018-03-15 11:41:11 +00:00
|
|
|
};
|
|
|
|
});
|
2019-01-09 13:29:56 +00:00
|
|
|
future = super.future.overridePythonAttrs (oldAttrs: rec {
|
|
|
|
version = "0.16.0";
|
2018-07-24 08:38:55 +01:00
|
|
|
src = oldAttrs.src.override {
|
|
|
|
inherit version;
|
2019-01-09 13:29:56 +00:00
|
|
|
sha256 = "1nzy1k4m9966sikp0qka7lirh8sqrsyainyf8rk97db7nwdfv773";
|
2018-07-24 08:38:55 +01:00
|
|
|
};
|
|
|
|
});
|
2019-01-09 13:29:56 +00:00
|
|
|
tqdm = super.tqdm.overridePythonAttrs (oldAttrs: rec {
|
|
|
|
version = "4.28.1";
|
2018-07-24 08:38:55 +01:00
|
|
|
src = oldAttrs.src.override {
|
|
|
|
inherit version;
|
2019-01-09 13:29:56 +00:00
|
|
|
sha256 = "1fyybgbmlr8ms32j7h76hz5g9xc6nf0644mwhc40a0s5k14makav";
|
2018-07-24 08:38:55 +01:00
|
|
|
};
|
|
|
|
});
|
2018-03-15 11:41:11 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
in newPython.pkgs.buildPythonApplication rec {
|
2019-02-14 20:53:05 +00:00
|
|
|
version = "1.12.0";
|
2017-04-13 00:40:33 +01:00
|
|
|
pname = "conan";
|
|
|
|
|
2018-03-15 11:41:11 +00:00
|
|
|
src = newPython.pkgs.fetchPypi {
|
2017-04-13 00:40:33 +01:00
|
|
|
inherit pname version;
|
2019-02-14 20:53:05 +00:00
|
|
|
sha256 = "0hgy3wfy96likdchz42h9mawfjw4dxx7k2iinrrlhph7128kji1j";
|
2018-07-24 08:38:55 +01:00
|
|
|
};
|
|
|
|
checkInputs = [
|
|
|
|
git
|
|
|
|
] ++ (with newPython.pkgs; [
|
2019-01-09 13:29:56 +00:00
|
|
|
codecov
|
|
|
|
mock
|
|
|
|
node-semver
|
2018-03-15 11:41:11 +00:00
|
|
|
nose
|
|
|
|
parameterized
|
|
|
|
webtest
|
2018-07-24 08:38:55 +01:00
|
|
|
]);
|
2018-03-15 11:41:11 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = with newPython.pkgs; [
|
2019-01-09 13:29:56 +00:00
|
|
|
colorama deprecation distro fasteners bottle
|
|
|
|
future node-semver patch pygments pluginbase
|
|
|
|
pyjwt pylint pyyaml requests six tqdm
|
2018-03-15 11:41:11 +00:00
|
|
|
];
|
|
|
|
|
2018-07-24 08:38:55 +01:00
|
|
|
checkPhase = ''
|
2018-03-15 11:41:11 +00:00
|
|
|
export HOME="$TMP/conan-home"
|
|
|
|
mkdir -p "$HOME"
|
|
|
|
'';
|
2017-04-13 00:40:33 +01:00
|
|
|
|
2017-11-13 19:08:07 +00:00
|
|
|
meta = with lib; {
|
2017-04-13 00:40:33 +01:00
|
|
|
homepage = https://conan.io;
|
|
|
|
description = "Decentralized and portable C/C++ package manager";
|
|
|
|
license = licenses.mit;
|
2019-01-09 13:29:56 +00:00
|
|
|
maintainers = with maintainers; [ HaoZeke ];
|
2017-04-13 00:40:33 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|