075e8c2c4f
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
69 lines
1.2 KiB
Nix
69 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
pytestCheckHook,
|
|
borgbackup,
|
|
appdirs,
|
|
arrow,
|
|
docopt,
|
|
inform,
|
|
nestedtext,
|
|
parametrize-from-file,
|
|
quantiphy,
|
|
requests,
|
|
shlib,
|
|
voluptuous,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "emborg";
|
|
version = "1.42";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KenKundert";
|
|
repo = "emborg";
|
|
tag = "v${version}";
|
|
hash = "sha256-/xinm/Jz4JVmm0jioLAhkbBueZCM0ehgt4gsgE7hX6I=";
|
|
};
|
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
propagatedBuildInputs = [
|
|
appdirs
|
|
arrow
|
|
docopt
|
|
inform
|
|
quantiphy
|
|
requests
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
nestedtext
|
|
parametrize-from-file
|
|
pytestCheckHook
|
|
shlib
|
|
voluptuous
|
|
borgbackup
|
|
];
|
|
|
|
# this disables testing fuse mounts
|
|
MISSING_DEPENDENCIES = "fuse";
|
|
|
|
postPatch = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
pythonImportsCheck = [ "emborg" ];
|
|
|
|
meta = {
|
|
description = "Interactive command line interface to Borg Backup";
|
|
homepage = "https://github.com/KenKundert/emborg";
|
|
changelog = "https://github.com/KenKundert/emborg/releases/tag/${src.tag}";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ jpetrucciani ];
|
|
};
|
|
}
|