Add shell.nix for development

This commit is contained in:
Ngô Ngọc Đức Huy 2023-12-18 09:56:43 +07:00
parent f82e20e171
commit 324e0f5a32
Signed by: xarvos
GPG key ID: 904AF1C7CDF695C3
2 changed files with 25 additions and 2 deletions

View file

@ -2,8 +2,9 @@
Witchie - an Akkoma CLI client Witchie - an Akkoma CLI client
============================ ============================
Witchie is a CLI and TUI tool for interacting with Akkoma instances from the command line. Witchie is a CLI and TUI tool for interacting with Akkoma instances from the
It is a fork of [ibuhanek's toot](https://github.com/ihabunek/toot) for Mastodon. command line. It is a fork of [ibuhanek's toot](https://github.com/ihabunek/toot)
for Mastodon to add Akkoma-specific features, such as custom emoji reacts or quote.
Resources Resources
--------- ---------

22
shell.nix Normal file
View file

@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2023 Ngô Ngọc Đức Huy <huyngo@disroot.org>
#
# SPDX-License-Identifier: CC0-1.0
{pkgs ? import <nixpkgs> {}
}:
pkgs.mkShell {
name="python-env";
buildInputs = with pkgs; [
python3
] ++ (with python3Packages; [
requests
beautifulsoup4
wcwidth
urwid
tomlkit
#urwidgets
]);
shellHook = ''
echo "Entering python environment for witchie..."
'';
}