mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
duplicity: add setuptools_scm dependency
This commit is contained in:
parent
1336554e82
commit
757a09c437
@ -1,5 +1,4 @@
|
|||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchpatch
|
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, pythonPackages
|
, pythonPackages
|
||||||
, librsync
|
, librsync
|
||||||
@ -9,7 +8,6 @@
|
|||||||
, par2cmdline
|
, par2cmdline
|
||||||
, util-linux
|
, util-linux
|
||||||
, rsync
|
, rsync
|
||||||
, backblaze-b2
|
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, gettext
|
, gettext
|
||||||
}:
|
}:
|
||||||
@ -34,13 +32,17 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
# 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
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
|
# Broken on Linux in Nix' build environment
|
||||||
./linux-disable-timezone-test.patch
|
./linux-disable-timezone-test.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
gettext
|
gettext
|
||||||
pythonPackages.wrapPython
|
pythonPackages.wrapPython
|
||||||
|
pythonPackages.setuptools-scm
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
librsync
|
librsync
|
||||||
|
Loading…
Reference in New Issue
Block a user