parent
68e1a78368
commit
542af6df87
|
@ -1,4 +1,4 @@
|
||||||
{ lib, python3, git }:
|
{ lib, python3, git, pkgconfig }:
|
||||||
|
|
||||||
let newPython = python3.override {
|
let newPython = python3.override {
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
|
@ -37,28 +37,17 @@ let newPython = python3.override {
|
||||||
sha256 = "c0abe3218b86533cca287e7057a37481883c07acef7814b70583406938214cc8";
|
sha256 = "c0abe3218b86533cca287e7057a37481883c07acef7814b70583406938214cc8";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
pyyaml = super.pyyaml_3;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
in newPython.pkgs.buildPythonApplication rec {
|
in newPython.pkgs.buildPythonApplication rec {
|
||||||
version = "1.12.0";
|
version = "1.12.3";
|
||||||
pname = "conan";
|
pname = "conan";
|
||||||
|
|
||||||
src = newPython.pkgs.fetchPypi {
|
src = newPython.pkgs.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0hgy3wfy96likdchz42h9mawfjw4dxx7k2iinrrlhph7128kji1j";
|
sha256 = "1cnfy9b57apps4bfai6r67g0mrvgnqa154z9idv0kf93k1nvx53g";
|
||||||
};
|
};
|
||||||
checkInputs = [
|
|
||||||
git
|
|
||||||
] ++ (with newPython.pkgs; [
|
|
||||||
codecov
|
|
||||||
mock
|
|
||||||
node-semver
|
|
||||||
nose
|
|
||||||
parameterized
|
|
||||||
webtest
|
|
||||||
]);
|
|
||||||
|
|
||||||
propagatedBuildInputs = with newPython.pkgs; [
|
propagatedBuildInputs = with newPython.pkgs; [
|
||||||
colorama deprecation distro fasteners bottle
|
colorama deprecation distro fasteners bottle
|
||||||
|
@ -66,14 +55,30 @@ in newPython.pkgs.buildPythonApplication rec {
|
||||||
pyjwt pylint pyyaml requests six tqdm
|
pyjwt pylint pyyaml requests six tqdm
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pkgconfig
|
||||||
|
git
|
||||||
|
] ++ (with newPython.pkgs; [
|
||||||
|
codecov
|
||||||
|
mock
|
||||||
|
pytest
|
||||||
|
node-semver
|
||||||
|
nose
|
||||||
|
parameterized
|
||||||
|
webtest
|
||||||
|
]);
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export HOME="$TMP/conan-home"
|
export HOME=$TMPDIR
|
||||||
mkdir -p "$HOME"
|
pytest conans/test/{utils,unittests} \
|
||||||
|
-k 'not SVN and not ToolsNetTest'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace conans/requirements_server.txt \
|
substituteInPlace conans/requirements_server.txt \
|
||||||
--replace "pluginbase>=0.5, < 1.0" "pluginbase>=0.5"
|
--replace "pluginbase>=0.5, < 1.0" "pluginbase>=0.5"
|
||||||
|
substituteInPlace conans/requirements.txt \
|
||||||
|
--replace "PyYAML>=3.11, <3.14.0" "PyYAML"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in New Issue