summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/oscscreen/default.nix
blob: 0d329f2ca3c8419bfa2e58e362cd5dfa87c7b9f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "oscscreen";
  version = "unstable-2023-03-23";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "outscale";
    repo = "npyscreen";
    rev = "e2a97e4a201e2d7d5de3ee033071a7f93592b422";
    hash = "sha256-0Im1kVFa11AW+7Oe95XvkfxSlaux6bkKaHSQy6hJCN8=";
  };

  nativeBuildInputs = [ setuptools ];

  pythonImportsCheck = [ "oscscreen" ];

  meta = {
    description = "Framework for developing console applications using Python and curses";
    homepage = "https://github.com/outscale/npyscreen";
    changelog = "https://github.com/outscale/npyscreen/blob/${src.rev}/CHANGELOG";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ nicolas-goudry ];
  };
}