mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
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:
parent
c3146aa96a
commit
82c74c334e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user