Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 71 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172{ lib, buildPythonPackage, fetchFromGitHub, flit-core, pytestCheckHook, pythonOlder, borgbackup, appdirs, arrow, docopt, inform, nestedtext, parametrize-from-file, quantiphy, requests, shlib, voluptuous,}:
buildPythonPackage rec { pname = "emborg"; version = "1.42"; format = "pyproject";
disabled = pythonOlder "3.7";
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 = with lib; { 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 = licenses.gpl3Plus; maintainers = with maintainers; [ jpetrucciani ]; };}