summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/urwidgets/default.nix
blob: f2c62bee143e8800ae68879ecb8ef19bcce6e215 (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
32
33
34
35
36
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  urwid,
}:

buildPythonPackage rec {
  pname = "urwidgets";
  version = "0.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "AnonymouX47";
    repo = "urwidgets";
    tag = "v${version}";
    hash = "sha256-RgY7m0smcdUspGkCdzepxruEMDq/mAsVFNjHMLoWAyc=";
  };

  build-system = [ setuptools ];

  dependencies = [ urwid ];

  pythonRelaxDeps = [ "urwid" ];

  pythonImportsCheck = [ "urwidgets" ];

  meta = {
    description = "Collection of widgets for urwid";
    homepage = "https://github.com/AnonymouX47/urwidgets";
    changelog = "https://github.com/AnonymouX47/urwidgets/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ huyngo ];
  };
}