about summary refs log tree commit diff
path: root/pkgs/tools/misc/remote-exec
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt2024-02-13 11:42:40 +0100
committerPeder Bergebakken Sundt2024-02-13 12:03:00 +0100
commitc2ba0016de8119dfa688703754b41a25051bdbfc (patch)
treeaddf4e8a0d5ed84977aa4ef44ce5a42571cb74bb /pkgs/tools/misc/remote-exec
parent77e68f9b88364d91604e003ff7ff2c35a40dc886 (diff)
remote-exec: 1.13.2 -> 1.13.3
release: https://github.com/remote-cli/remote/releases/tag/v1.13.3

diff: https://github.com/remote-cli/remote/compare/v1.13.2...v1.13.3
Diffstat (limited to 'pkgs/tools/misc/remote-exec')
-rw-r--r--pkgs/tools/misc/remote-exec/default.nix19
1 files changed, 15 insertions, 4 deletions
diff --git a/pkgs/tools/misc/remote-exec/default.nix b/pkgs/tools/misc/remote-exec/default.nix
index 557bde26c465..979f0f53bae0 100644
--- a/pkgs/tools/misc/remote-exec/default.nix
+++ b/pkgs/tools/misc/remote-exec/default.nix
@@ -1,9 +1,10 @@
 { lib
 , stdenv
+, fetchpatch
 , fetchFromGitHub
 , buildPythonApplication
 , click
-, pydantic_1
+, pydantic
 , toml
 , watchdog
 , pytestCheckHook
@@ -12,15 +13,24 @@
 
 buildPythonApplication rec {
   pname = "remote-exec";
-  version = "1.13.2";
+  version = "1.13.3";
 
   src = fetchFromGitHub {
     owner = "remote-cli";
     repo = "remote";
     rev = "refs/tags/v${version}";
-    hash = "sha256-xaxkN6XukV9HiLYehwVTBZB8bUyjgpfg+pPfAGrOkgo=";
+    hash = "sha256-rsboHJLOHXnpXtsVsvsfKsav8mSbloaq2lzZnU2pw6c=";
   };
 
+  patches = [
+    # relax install requirements
+    # https://github.com/remote-cli/remote/pull/60.patch
+    (fetchpatch {
+      url = "https://github.com/remote-cli/remote/commit/a2073c30c7f576ad7ceb46e39f996de8d06bf186.patch";
+      hash = "sha256-As0j+yY6LamhOCGFzvjUQoXFv46BN/tRBpvIS7r6DaI=";
+    })
+  ];
+
   # remove legacy endpoints, we use --multi now
   postPatch = ''
     substituteInPlace setup.py \
@@ -29,7 +39,7 @@ buildPythonApplication rec {
 
   propagatedBuildInputs = [
     click
-    pydantic_1
+    pydantic
     toml
     watchdog
   ];
@@ -58,6 +68,7 @@ buildPythonApplication rec {
   meta = with lib; {
     description = "Work with remote hosts seamlessly via rsync and ssh";
     homepage = "https://github.com/remote-cli/remote";
+    changelog = "https://github.com/remote-cli/remote/releases/tag/v${version}";
     license = licenses.bsd2;
     maintainers = with maintainers; [ pbsds ];
   };