Merge pull request #137344 from lukegb/staging-next
staging-next fixups
This commit is contained in:
commit
96cd1104b2
@ -1,5 +1,5 @@
|
||||
{ lib, fetchPypi, buildPythonPackage
|
||||
, agate, openpyxl, xlrd, pytestCheckHook
|
||||
, agate, openpyxl, xlrd, olefile, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
sha256 = "62315708433108772f7f610ca769996b468a4ead380076dbaf6ffe262831b153";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ agate openpyxl xlrd ];
|
||||
propagatedBuildInputs = [ agate openpyxl xlrd olefile ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
|
@ -9,6 +9,12 @@ buildPythonPackage rec {
|
||||
sha256 = "509a3a4cc926d3dbf22b203b18a4c66c25e6473fb7c0e0d30374533ac28bafe5";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
# Disable lib3to6, since we're only building this on 3.6+ anyway.
|
||||
substituteInPlace setup.py \
|
||||
--replace 'if any(arg.startswith("bdist") for arg in sys.argv):' 'if False:'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ click ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
@ -2,6 +2,7 @@
|
||||
, python
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, openmp
|
||||
, pytest-runner
|
||||
, ply
|
||||
, networkx
|
||||
@ -34,7 +35,7 @@ in buildPythonPackage rec {
|
||||
# Hardcode path to mp library
|
||||
(substituteAll {
|
||||
src = ./0001-hardcode-path-to-libgomp.patch;
|
||||
gomp = "${stdenv.cc.cc.lib}/lib/libgomp${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
gomp = "${if stdenv.cc.isClang then openmp else stdenv.cc.cc.lib}/lib/libgomp${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
})
|
||||
];
|
||||
|
||||
|
@ -44,7 +44,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
--replace "Flask~=1.1.2" "Flask~=2.0" \
|
||||
--replace "dateparser~=0.7" "dateparser>=0.7" \
|
||||
--replace "docker~=4.2.0" "docker>=4.2.0" \
|
||||
--replace "requests==" "requests~=" \
|
||||
--replace "requests==" "requests #" \
|
||||
--replace "watchdog==" "watchdog #"
|
||||
'';
|
||||
|
||||
|
@ -17,11 +17,11 @@ stdenv.mkDerivation rec {
|
||||
+ lib.optionalString isBootstrap "-boot"
|
||||
+ lib.optionalString useNcurses "-cursesUI"
|
||||
+ lib.optionalString withQt5 "-qt5UI";
|
||||
version = "3.21.1";
|
||||
version = "3.21.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cmake.org/files/v${lib.versions.majorMinor version}/cmake-${version}.tar.gz";
|
||||
sha256 = "sha256-+sORUXHU3/JZE5ddcS925prvRL9zi6e5dnk6RYtM/tQ=";
|
||||
sha256 = "sha256-lCdeC2HIS7QnEPUyCiPG3LLG7gMq59KmFvU/aLPSFlk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -21,13 +21,6 @@ let newPython = python3.override {
|
||||
sha256 = "1dv6mjsm67l1razcgmq66riqmsb36wns17mnipqr610v0z0zf5j0";
|
||||
};
|
||||
});
|
||||
urllib3 = super.urllib3.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.25.11";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "18hpzh1am1dqx81fypn57r2wk565fi4g14292qrc5jm1h9dalzld";
|
||||
};
|
||||
});
|
||||
# https://github.com/conan-io/conan/issues/8876
|
||||
pyjwt = super.pyjwt.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.7.1";
|
||||
@ -59,14 +52,14 @@ let newPython = python3.override {
|
||||
};
|
||||
|
||||
in newPython.pkgs.buildPythonApplication rec {
|
||||
version = "1.35.0";
|
||||
version = "1.40.0";
|
||||
pname = "conan";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "conan-io";
|
||||
repo = "conan";
|
||||
rev = version;
|
||||
sha256 = "19rgylkjxvv47vz5vgh46rw108xskpv7lmax8y2fnm2wd1j3bq9c";
|
||||
sha256 = "1sb4w4wahasrwxkag1g79f135601sca6iafv4r4836f2vi48ka2d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with newPython.pkgs; [
|
||||
@ -106,12 +99,6 @@ in newPython.pkgs.buildPythonApplication rec {
|
||||
# Not enabled right now due to time constraints/failing tests that I didn't have time to track down
|
||||
doCheck = false;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace conans/requirements.txt \
|
||||
--replace "deprecation>=2.0, <2.1" "deprecation" \
|
||||
--replace "six>=1.10.0,<=1.15.0" "six>=1.10.0,<=1.16.0"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://conan.io";
|
||||
description = "Decentralized and portable C/C++ package manager";
|
||||
|
@ -2,6 +2,14 @@
|
||||
let
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
awscrt = super.awscrt.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.11.24";
|
||||
src = self.fetchPypi {
|
||||
inherit (oldAttrs) pname;
|
||||
inherit version;
|
||||
sha256 = "sha256-uKpovKQEvwCFvgVw7/W1QtAffo48D5sIWav+XgcBYv8=";
|
||||
};
|
||||
});
|
||||
botocore = super.botocore.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.0.0dev138";
|
||||
src = fetchFromGitHub {
|
||||
@ -43,12 +51,12 @@ with py.pkgs; buildPythonApplication rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "awscrt==0.11.24" "awscrt" \
|
||||
--replace "colorama>=0.2.5,<0.4.4" "colorama" \
|
||||
--replace "cryptography>=3.3.2,<3.4.0" "cryptography" \
|
||||
--replace "docutils>=0.10,<0.16" "docutils" \
|
||||
--replace "ruamel.yaml>=0.15.0,<0.16.0" "ruamel.yaml" \
|
||||
--replace "wcwidth<0.2.0" "wcwidth"
|
||||
--replace "wcwidth<0.2.0" "wcwidth" \
|
||||
--replace "distro>=1.5.0,<1.6.0" "distro"
|
||||
'';
|
||||
|
||||
checkInputs = [ jsonschema mock nose ];
|
||||
|
@ -7341,7 +7341,9 @@ in {
|
||||
|
||||
python-xmp-toolkit = callPackage ../development/python-modules/python-xmp-toolkit { };
|
||||
|
||||
pythran = callPackage ../development/python-modules/pythran { };
|
||||
pythran = callPackage ../development/python-modules/pythran {
|
||||
inherit (pkgs.llvmPackages) openmp;
|
||||
};
|
||||
|
||||
pyeverlights = callPackage ../development/python-modules/pyeverlights { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user