2024-12-30 11:35:52 -05:00
|
|
|
{ pkgs, ... }:
|
2024-12-30 12:00:40 -05:00
|
|
|
(pkgs.python311Packages.buildPythonPackage rec {
|
2024-12-30 11:35:52 -05:00
|
|
|
name = "xontrib-cd";
|
|
|
|
version = "0.3.1";
|
2024-12-30 12:00:40 -05:00
|
|
|
format = "pyproject";
|
2024-12-30 11:35:52 -05:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "eugenesvk";
|
|
|
|
repo = name;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "XxSxjyCg7PeX1v3e2KKicvAPmNeq+qVqbW4fXTwAiic=";
|
|
|
|
};
|
|
|
|
|
2024-12-30 12:00:40 -05:00
|
|
|
nativeBuildInputs = with pkgs.python311Packages; [ poetry-core ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pkgs.python311Packages; [ xonsh ];
|
|
|
|
|
2024-12-30 11:35:52 -05:00
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
})
|