borgbackup: pin msgpack at 1.0.4

Checking runtime dependencies for borgbackup-1.2.6-cp311-cp311-linux_x86_64.whl
  - msgpack!=1.0.1,<=1.0.5,>=0.5.6 not satisfied by version 1.0.7
This commit is contained in:
Martin Weinelt 2023-12-13 15:35:39 +01:00
parent c3146aa96a
commit 82c74c334e
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -14,7 +14,22 @@
, fetchPypi
}:
python3Packages.buildPythonApplication rec {
let
python = python3Packages.python.override {
packageOverrides = self: super: {
msgpack = super.msgpack.overrideAttrs (oldAttrs: rec {
version ="1.0.4";
src = fetchPypi {
pname = "msgpack";
inherit version;
hash = "sha256-9dhpwY8DAgLrQS8Iso0q/upVPWYTruieIA16yn7wH18=";
};
});
};
};
in
python.pkgs.buildPythonApplication rec {
pname = "borgbackup";
version = "1.2.7";
format = "pyproject";
@ -30,7 +45,7 @@ python3Packages.buildPythonApplication rec {
--replace "0o4755" "0o0755"
'';
nativeBuildInputs = with python3Packages; [
nativeBuildInputs = with python.pkgs; [
cython
setuptools-scm
pkgconfig
@ -55,7 +70,7 @@ python3Packages.buildPythonApplication rec {
acl
];
propagatedBuildInputs = with python3Packages; [
propagatedBuildInputs = with python.pkgs; [
msgpack
packaging
(if stdenv.isLinux then pyfuse3 else llfuse)
@ -72,7 +87,7 @@ python3Packages.buildPythonApplication rec {
--zsh scripts/shell_completions/zsh/_borg
'';
nativeCheckInputs = with python3Packages; [
nativeCheckInputs = with python.pkgs; [
e2fsprogs
py
python-dateutil