summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/colorscript/default.nix
blob: 826e54480b0aeb546448cf8bd2c2600a19fb295f (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "colorscript";
  version = "1.0.0-unstable-2024-09-20";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "EntySec";
    repo = "ColorScript";
    # https://github.com/EntySec/ColorScript/issues/4
    rev = "b98ec077fd2faa700ac5c6dafa0cdd17f649ffbc";
    hash = "sha256-xiN9wln0HU/gs6+L8QN4rmp72KUCAPWO/l2A7te64L0=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "colorscript" ];

  # Module has no tests
  doCheck = false;

  meta = {
    description = "Module for functionality with text, escape codes, octal and hexadecimal codes, and other data";
    homepage = "https://github.com/EntySec/ColorScript";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
})