1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "oscscreen";
10 version = "unstable-2023-03-23";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "outscale";
15 repo = "npyscreen";
16 rev = "e2a97e4a201e2d7d5de3ee033071a7f93592b422";
17 hash = "sha256-0Im1kVFa11AW+7Oe95XvkfxSlaux6bkKaHSQy6hJCN8=";
18 };
19
20 nativeBuildInputs = [ setuptools ];
21
22 pythonImportsCheck = [ "oscscreen" ];
23
24 meta = with lib; {
25 description = "Framework for developing console applications using Python and curses";
26 homepage = "https://github.com/outscale/npyscreen";
27 changelog = "https://github.com/outscale/npyscreen/blob/${src.rev}/CHANGELOG";
28 license = licenses.bsd2;
29 maintainers = with maintainers; [ nicolas-goudry ];
30 };
31}