mackup: 0.8.41 -> 0.9.3 (#455198)
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
procps,
|
||||
python3Packages,
|
||||
stdenv,
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "mackup";
|
||||
version = "0.8.41";
|
||||
version = "0.9.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lra";
|
||||
repo = "mackup";
|
||||
rev = "${version}";
|
||||
hash = "sha256-eWSBl8BTg2FLI21DQcnepBFPF08bfm0V8lYB4mMbAiw=";
|
||||
hash = "sha256-ysVABY/PWwqbWEATpzIrMkppHExOxDcia5HFr+VGQQc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -21,9 +22,9 @@ python3Packages.buildPythonApplication rec {
|
||||
--replace-fail '"/usr/bin/pgrep"' '"${lib.getExe' procps "pgrep"}"' \
|
||||
'';
|
||||
|
||||
build-system = with python3Packages; [ poetry-core ];
|
||||
build-system = with python3Packages; [ hatchling ];
|
||||
|
||||
dependencies = with python3Packages; [ docopt ];
|
||||
dependencies = with python3Packages; [ docopt-ng ];
|
||||
|
||||
pythonImportsCheck = [ "mackup" ];
|
||||
|
||||
@@ -32,7 +33,7 @@ python3Packages.buildPythonApplication rec {
|
||||
enabledTestPaths = [ "tests/*.py" ];
|
||||
|
||||
# Disabling tests failing on darwin due to a missing pgrep binary on procps
|
||||
disabledTests = [ "test_is_process_running" ];
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ "test_is_process_running" ];
|
||||
|
||||
meta = {
|
||||
description = "Tool to keep your application settings in sync (OS X/Linux)";
|
||||
|
||||
Reference in New Issue
Block a user