2024-03-17 18:48:49 +00:00
|
|
|
{
|
|
|
|
nix-unit,
|
|
|
|
clan-cli,
|
|
|
|
mkShell,
|
|
|
|
ruff,
|
|
|
|
python3,
|
|
|
|
}:
|
2023-07-20 16:07:27 +00:00
|
|
|
let
|
2024-03-24 22:36:00 +00:00
|
|
|
devshellTestDeps =
|
|
|
|
clan-cli.passthru.testDependencies
|
|
|
|
++ (with python3.pkgs; [
|
|
|
|
rope
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
pip
|
|
|
|
]);
|
2023-07-26 06:29:34 +00:00
|
|
|
in
|
2023-08-27 08:21:02 +00:00
|
|
|
mkShell {
|
2024-03-24 22:36:00 +00:00
|
|
|
buildInputs = [
|
2023-08-27 08:21:02 +00:00
|
|
|
nix-unit
|
2023-10-04 09:39:22 +00:00
|
|
|
ruff
|
2024-03-24 22:36:00 +00:00
|
|
|
] ++ devshellTestDeps;
|
2023-09-15 11:44:47 +00:00
|
|
|
|
2023-07-26 06:29:34 +00:00
|
|
|
shellHook = ''
|
2024-03-24 22:36:00 +00:00
|
|
|
export PATH=$(pwd)/bin:$PATH
|
2023-10-23 20:34:43 +00:00
|
|
|
|
2023-11-23 14:07:08 +00:00
|
|
|
ln -sfT ${clan-cli.nixpkgs} clan_cli/nixpkgs
|
2023-07-26 06:29:34 +00:00
|
|
|
'';
|
|
|
|
}
|