Add shell.nix for development
This commit is contained in:
parent
f82e20e171
commit
324e0f5a32
2 changed files with 25 additions and 2 deletions
|
@ -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
22
shell.nix
Normal 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..."
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue