mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
conan: 0.21.2 -> 0.26.2, and fix build
This commit is contained in:
parent
c4ec44e4d7
commit
b1504b444b
1 changed files with 33 additions and 10 deletions
|
@ -1,18 +1,41 @@
|
||||||
{ stdenv, pythonPackages }:
|
{ stdenv, python }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
let
|
||||||
name = "${pname}-${version}";
|
p = python.override {
|
||||||
version = "0.21.2";
|
packageOverrides = self: super: {
|
||||||
pname = "conan";
|
astroid = super.astroid.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
version = "1.4.9";
|
||||||
src = pythonPackages.fetchPypi {
|
name = "${oldAttrs.pname}-${version}";
|
||||||
inherit pname version;
|
src = oldAttrs.src.override {
|
||||||
sha256 = "0x9s5h81d885xdrjw5x99q18lhmj11kalrs6xnjy2phrr8qzil8c";
|
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";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
in p.pkgs.buildPythonApplication rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
version = "0.26.1";
|
||||||
|
pname = "conan";
|
||||||
|
|
||||||
|
src = p.pkgs.fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "2da5a140a74d912d5561698b8cc5a5e5583b9dbe36623c59b4ce4be586476e7c";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with p.pkgs; [
|
||||||
requests fasteners pyyaml pyjwt colorama patch
|
requests fasteners pyyaml pyjwt colorama patch
|
||||||
bottle pluginbase six distro pylint node-semver
|
bottle pluginbase six distro pylint node-semver
|
||||||
|
future pygments mccabe
|
||||||
];
|
];
|
||||||
|
|
||||||
# enable tests once all of these pythonPackages available:
|
# enable tests once all of these pythonPackages available:
|
||||||
|
|
Loading…
Reference in a new issue