Martin Weinelt 2021-07-12 23:40:50 +02:00
parent c29191d61b
commit 0e6e4d4276
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,23 +1,14 @@
{ lib, stdenv, python3, fetchpatch, acl, libb2, lz4, zstd, openssl, openssh, nixosTests }:
{ lib, stdenv, python3, acl, libb2, lz4, zstd, openssl, openssh, nixosTests }:
python3.pkgs.buildPythonApplication rec {
pname = "borgbackup";
version = "1.1.16";
version = "1.1.17";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "0l1dqfwrd9l34rg30cmzmq5bs6yha6kg4vy313jq611jsqj94mmw";
sha256 = "0x0ncy0b0bmf586hbdgrif3gjmkdw760vfnfxndr493v07y29fbs";
};
patches = [
# fix compatibility with sphinx 4
(fetchpatch {
url = "https://github.com/borgbackup/borg/commit/6a1f31bf2914d167e2f5051f1d531d5d4a19f54b.patch";
includes = [ "docs/conf.py" ];
sha256 = "0aa4kyb3j4apgwqcy1hzg6lxvpf60m2mijcj60vh101b42410hiz";
})
];
nativeBuildInputs = with python3.pkgs; [
setuptools-scm
# For building documentation:
@ -27,6 +18,7 @@ python3.pkgs.buildPythonApplication rec {
libb2 lz4 zstd openssl
] ++ lib.optionals stdenv.isLinux [ acl ];
propagatedBuildInputs = with python3.pkgs; [
packaging
cython llfuse
];