From 237d22276ec53727b8de6f52eee47ab92258d239 Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 30 Dec 2024 12:00:40 -0500 Subject: [PATCH] update `xontrib-cd` package to build with poetry --- packages/xontribs/xontrib-cd.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/xontribs/xontrib-cd.nix b/packages/xontribs/xontrib-cd.nix index 728db42..9f8f136 100644 --- a/packages/xontribs/xontrib-cd.nix +++ b/packages/xontribs/xontrib-cd.nix @@ -1,7 +1,8 @@ { pkgs, ... }: -(pkgs.python3Packages.buildPythonPackage rec { +(pkgs.python311Packages.buildPythonPackage rec { name = "xontrib-cd"; version = "0.3.1"; + format = "pyproject"; src = pkgs.fetchFromGitHub { owner = "eugenesvk"; @@ -10,6 +11,10 @@ sha256 = "XxSxjyCg7PeX1v3e2KKicvAPmNeq+qVqbW4fXTwAiic="; }; + nativeBuildInputs = with pkgs.python311Packages; [ poetry-core ]; + + propagatedBuildInputs = with pkgs.python311Packages; [ xonsh ]; + meta = { homepage = "https://github.com/eugenesvk/xontrib-cd"; description = "`cd` to any path without escaping in xonsh shell: `cd ~/[te] st`";