duplicity: 0.8.10 -> 0.8.11.1596
This commit is contained in:
parent
5f77ff6384
commit
766f89de3a
@ -11,28 +11,25 @@
|
|||||||
, rsync
|
, rsync
|
||||||
, backblaze-b2
|
, backblaze-b2
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, gettext
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
inherit (stdenv.lib.versions) majorMinor splitVersion;
|
||||||
|
majorMinorPatch = v: builtins.concatStringsSep "." (stdenv.lib.take 3 (splitVersion v));
|
||||||
|
in
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
pname = "duplicity";
|
pname = "duplicity";
|
||||||
version = "0.8.10";
|
version = "0.8.11.1596";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://code.launchpad.net/duplicity/${stdenv.lib.versions.majorMinor version}-series/${version}/+download/${pname}-${version}fin1558.tar.gz";
|
url = "https://code.launchpad.net/duplicity/${majorMinor version}-series/${majorMinorPatch version}/+download/duplicity-${version}.tar.gz";
|
||||||
sha256 = "13apmavdc2cx3wxv2ymy97c575hc37xjhpa6b4sds8fkx2vrb0mh";
|
sha256 = "1qdaaybwdc13nfwnwrqij4lc23iwy73lyqn5lb4iznq6axp6m0h9";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# We use the tar binary on all platforms.
|
# We use the tar binary on all platforms.
|
||||||
./gnutar-in-test.patch
|
./gnutar-in-test.patch
|
||||||
|
|
||||||
# Make test respect TMPDIR env var.
|
|
||||||
# https://bugs.launchpad.net/duplicity/+bug/1862672
|
|
||||||
(fetchurl {
|
|
||||||
url = "https://launchpadlibrarian.net/464404371/0001-Make-LogTest-respect-TMPDIR-env-variable.patch";
|
|
||||||
hash = "sha256-wdy8mMurLhBS0ZTXmlIGGrIkS2gGBDwTp7TRxTSXBGo=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Our Python infrastructure runs test in installCheckPhase so we need
|
# Our Python infrastructure runs test in installCheckPhase so we need
|
||||||
# to make the testing code stop assuming it is run from the source directory.
|
# to make the testing code stop assuming it is run from the source directory.
|
||||||
./use-installed-scripts-in-test.patch
|
./use-installed-scripts-in-test.patch
|
||||||
@ -40,10 +37,13 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
./linux-disable-timezone-test.patch
|
./linux-disable-timezone-test.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
makeWrapper
|
||||||
|
gettext
|
||||||
|
pythonPackages.wrapPython
|
||||||
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
librsync
|
librsync
|
||||||
makeWrapper
|
|
||||||
pythonPackages.wrapPython
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user