Merge pull request #330203 from phiadaarr/initPythonWat
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
colorama,
|
||||
mock,
|
||||
pyyaml,
|
||||
pydantic,
|
||||
backoff,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nuclear";
|
||||
version = "2.2.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "igrek51";
|
||||
repo = "nuclear";
|
||||
rev = version;
|
||||
hash = "sha256-JuO7BKmlQE6bWKqy1QvX5U4A9YkKu/4ouTSJh9R7JGo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
dependencies = [
|
||||
colorama
|
||||
pyyaml
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
mock
|
||||
pydantic
|
||||
backoff
|
||||
];
|
||||
disabledTestPaths = [
|
||||
# Disabled because test tries to install bash in a non-NixOS way
|
||||
"tests/autocomplete/test_bash_install.py"
|
||||
];
|
||||
disabledTests = [
|
||||
# Setting the time zone in nix sandbox does not work - to be investigated
|
||||
"test_context_logger"
|
||||
];
|
||||
pythonImportsCheck = [ "nuclear" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://igrek51.github.io/nuclear/";
|
||||
description = "Binding glue for CLI Python applications";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ parras ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
nuclear,
|
||||
pydantic,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wat";
|
||||
version = "0.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "igrek51";
|
||||
repo = "wat";
|
||||
rev = version;
|
||||
hash = "sha256-ibbWM2L/GoJVg8RxtsBSBn/qA+KIkC5+wq5YH6mtiUs=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
nuclear
|
||||
pydantic
|
||||
];
|
||||
pythonImportsCheck = [ "wat" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://igrek51.github.io/wat/";
|
||||
description = "Deep inspection of python objects";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ parras ];
|
||||
};
|
||||
}
|
||||
@@ -9166,6 +9166,8 @@ self: super: with self; {
|
||||
|
||||
ntplib = callPackage ../development/python-modules/ntplib { };
|
||||
|
||||
nuclear = callPackage ../development/python-modules/nuclear { };
|
||||
|
||||
nuitka = callPackage ../development/python-modules/nuitka { };
|
||||
|
||||
nuheat = callPackage ../development/python-modules/nuheat { };
|
||||
@@ -17194,6 +17196,8 @@ self: super: with self; {
|
||||
wasmerPackages = pkgs.recurseIntoAttrs (callPackage ../development/python-modules/wasmer { });
|
||||
inherit (self.wasmerPackages) wasmer wasmer-compiler-cranelift wasmer-compiler-llvm wasmer-compiler-singlepass;
|
||||
|
||||
wat = callPackage ../development/python-modules/wat { };
|
||||
|
||||
watchdog = callPackage ../development/python-modules/watchdog {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user