flake/packages/xontribs/xontrib-cd.nix

25 lines
660 B
Nix
Raw Normal View History

{ pkgs, ... }:
(pkgs.python311Packages.buildPythonPackage rec {
name = "xontrib-cd";
version = "0.3.1";
format = "pyproject";
src = pkgs.fetchFromGitHub {
owner = "eugenesvk";
repo = name;
rev = version;
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`";
license = pkgs.lib.licenses.mit;
maintainers = [ "cswimr" ];
};
})