devtoolbox: 1.2.5 -> 1.3.0 (#423682)

Aleksana 804d0115 ff3ffc81

Changed files
+51 -2
pkgs
by-name
de
devtoolbox
development
python-modules
color-parser-py
top-level
+5 -2
pkgs/by-name/de/devtoolbox/package.nix
···
}:
python3Packages.buildPythonApplication rec {
pname = "devtoolbox";
-
version = "1.2.5";
+
version = "1.3.0";
pyproject = false; # uses meson
src = fetchFromGitHub {
owner = "aleiepure";
repo = "devtoolbox";
tag = "v${version}";
-
hash = "sha256-CgpSZvpwBKo2gzp2QbBPFBK0tPhqKFC/DxXdmTWVAwc=";
+
hash = "sha256-ReF70pNMrMweEB4WAGQT++9TxTN4gV1olln7Y6YWCis=";
};
+
# test after update
postPatch = ''
substituteInPlace src/views/reverse_cron.py \
--replace-fail '"\D"' 'r"\D"'
···
python-dateutil
rcssmin
rjsmin
+
cryptography
+
color-parser-py
];
dontWrapGApps = true;
+44
pkgs/development/python-modules/color-parser-py/default.nix
···
+
{
+
lib,
+
buildPythonPackage,
+
fetchPypi,
+
rustPlatform,
+
pytestCheckHook,
+
}:
+
+
buildPythonPackage rec {
+
pname = "color-parser-py";
+
version = "0.1.6";
+
pyproject = true;
+
+
# PyPI has Cargo.lock
+
src = fetchPypi {
+
pname = "color_parser_py";
+
inherit version;
+
hash = "sha256-m1qhVAwQNtCwz+DLSAdfKhzkohMLMjvPHxynKhlJfN8=";
+
};
+
+
cargoDeps = rustPlatform.fetchCargoVendor {
+
inherit pname version src;
+
hash = "sha256-tKXA6sd5gLCJUaqxzFcZ3lePK41Wk2TbLp0HXBacOyo=";
+
};
+
+
nativeBuildInputs = [
+
rustPlatform.cargoSetupHook
+
rustPlatform.maturinBuildHook
+
];
+
+
nativeCheckInputs = [ pytestCheckHook ];
+
+
pythonImportsCheck = [ "color_parser_py" ];
+
+
# Support newer python versions
+
env.PYO3_USE_ABI3_FORWARD_COMPATIBILITY = true;
+
+
meta = {
+
description = "Python bindings for color parsing and conversion";
+
homepage = "https://github.com/rusiaaman/color-parser-py";
+
license = lib.licenses.mit;
+
maintainers = with lib.maintainers; [ aleksana ];
+
};
+
}
+2
pkgs/top-level/python-packages.nix
···
color-operations = callPackage ../development/python-modules/color-operations { };
+
color-parser-py = callPackage ../development/python-modules/color-parser-py { };
+
colorama = callPackage ../development/python-modules/colorama { };
colorcet = callPackage ../development/python-modules/colorcet { };