python3Packages.emborg: init at 1.34
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pytestCheckHook
|
||||
, borgbackup
|
||||
, appdirs
|
||||
, arrow
|
||||
, docopt
|
||||
, inform
|
||||
, nestedtext
|
||||
, parametrize-from-file
|
||||
, quantiphy
|
||||
, requests
|
||||
, shlib
|
||||
, voluptuous
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "emborg";
|
||||
version = "1.34";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KenKundert";
|
||||
repo = "emborg";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-bnlELPZzTU9KyVsz5Q0aW9xWvVrgwpowQrjkQvX844g=";
|
||||
};
|
||||
|
||||
format = "flit";
|
||||
checkInputs = [
|
||||
nestedtext
|
||||
parametrize-from-file
|
||||
pytestCheckHook
|
||||
shlib
|
||||
voluptuous
|
||||
borgbackup
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
arrow
|
||||
docopt
|
||||
inform
|
||||
quantiphy
|
||||
requests
|
||||
];
|
||||
|
||||
# this disables testing fuse mounts
|
||||
MISSING_DEPENDENCIES = "fuse";
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
# this patch fixes a whitespace issue in the message that a test is expecting, https://github.com/KenKundert/emborg/pull/67
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/KenKundert/emborg/commit/afac6d1ddcecdb4bddbec87b6c8eed4cfbf4ebf9.diff";
|
||||
sha256 = "3xg2z03FLKH4ckmiBZqE1FDjpgjgdO8OZL1ewrJlQ4o=";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Interactive command line interface to Borg Backup";
|
||||
homepage = "https://github.com/KenKundert/emborg";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jpetrucciani ];
|
||||
};
|
||||
}
|
||||
@@ -6823,6 +6823,8 @@ with pkgs;
|
||||
embree = callPackage ../development/libraries/embree { };
|
||||
embree2 = callPackage ../development/libraries/embree/2.x.nix { };
|
||||
|
||||
emborg = python3Packages.callPackage ../development/python-modules/emborg { };
|
||||
|
||||
emem = callPackage ../applications/misc/emem { };
|
||||
|
||||
empty = callPackage ../tools/misc/empty { };
|
||||
|
||||
@@ -2941,6 +2941,8 @@ self: super: with self; {
|
||||
|
||||
embrace = callPackage ../development/python-modules/embrace { };
|
||||
|
||||
emborg = callPackage ../development/python-modules/emborg { };
|
||||
|
||||
emcee = callPackage ../development/python-modules/emcee { };
|
||||
|
||||
emv = callPackage ../development/python-modules/emv { };
|
||||
|
||||
Reference in New Issue
Block a user