python313Packages.colorscript: init at 2024.2.3

Module for functionality with text, escape codes, octal and
hexadecimal codes, and other data

https://pypi.org/project/ColorScript/
This commit is contained in:
Fabian Affolter
2026-01-13 20:45:10 +01:00
parent e06fd9c51e
commit 7c1c262faf
3 changed files with 44 additions and 12 deletions
+8 -12
View File
@@ -4,23 +4,19 @@
python3,
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "ghost";
version = "8.0.0";
version = "8.0.0-unstable-2025-11-01";
pyproject = true;
disabled = python3.pythonOlder "3.7";
src = fetchFromGitHub {
owner = "EntySec";
repo = "Ghost";
rev = version;
sha256 = "13p3inw7v55na8438awr692v9vb7zgf5ggxpha9r3m8vfm3sb4iz";
rev = "bf38c7e62e510caa1229e797ca3276e426235b03";
hash = "sha256-c1mcx5mG45Rm/oJ+XFCo5uJqcqPQGgZnxRs7OcU8q+0=";
};
build-system = with python3.pkgs; [
setuptools
];
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
adb-shell
@@ -33,9 +29,9 @@ python3.pkgs.buildPythonApplication rec {
meta = {
description = "Android post-exploitation framework";
mainProgram = "ghost";
homepage = "https://github.com/EntySec/ghost";
license = with lib.licenses; [ mit ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "ghost";
};
}
})
@@ -0,0 +1,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 ];
};
})
+2
View File
@@ -2994,6 +2994,8 @@ self: super: with self; {
colormath2 = callPackage ../development/python-modules/colormath2 { };
colorscript = callPackage ../development/python-modules/colorscript { };
colorspacious = callPackage ../development/python-modules/colorspacious { };
colorthief = callPackage ../development/python-modules/colorthief { };