Loading pkgs/development/python-modules/ppk2-api/default.nix 0 → 100644 +40 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, pyserial, pythonOlder, }: buildPythonPackage rec { pname = "ppk2-api"; version = "0.9.2"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "IRNAS"; repo = "ppk2-api-python"; rev = "refs/tags/v${version}"; hash = "sha256-fubDFtOXiv2YFYUCOUbuyXs1sHgs0/6ZVK9sAwxQ+Pk="; }; build-system = [ setuptools ]; dependencies = [ pyserial ]; # Module has no tests doCheck = false; pythonImportsCheck = [ "ppk2_api" ]; meta = with lib; { description = "Power Profiling Kit 2 unofficial Python API"; homepage = "https://github.com/IRNAS/ppk2-api-python"; changelog = "https://github.com/IRNAS/ppk2-api-python/releases/tag/v${version}"; license = licenses.gpl2Only; maintainers = with maintainers; [ fab ]; }; } pkgs/development/python-modules/print-color/default.nix 0 → 100644 +40 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, poetry-core, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "print-color"; version = "0.4.6"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "xy3"; repo = "print-color"; rev = "refs/tags/v${version}"; hash = "sha256-PHPbzzWG7smEsoTFYFT2tgXfCxUYjevpB9rxG2bZVy4="; }; build-system = [ poetry-core ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "print_color" ]; meta = with lib; { description = "Module to print color messages in the terminal"; homepage = "https://github.com/xy3/print-color"; changelog = "https://github.com/xy3/print-color/releases/tag/v${version}"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -10199,6 +10199,10 @@ self: super: with self; { ppdeep = callPackage ../development/python-modules/ppdeep { }; ppk2-api = callPackage ../development/python-modules/ppk2-api { }; print-color = callPackage ../development/python-modules/print-color { }; private-gpt = callPackage ../development/python-modules/private-gpt { }; prodict = callPackage ../development/python-modules/prodict { }; Loading Loading
pkgs/development/python-modules/ppk2-api/default.nix 0 → 100644 +40 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, pyserial, pythonOlder, }: buildPythonPackage rec { pname = "ppk2-api"; version = "0.9.2"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "IRNAS"; repo = "ppk2-api-python"; rev = "refs/tags/v${version}"; hash = "sha256-fubDFtOXiv2YFYUCOUbuyXs1sHgs0/6ZVK9sAwxQ+Pk="; }; build-system = [ setuptools ]; dependencies = [ pyserial ]; # Module has no tests doCheck = false; pythonImportsCheck = [ "ppk2_api" ]; meta = with lib; { description = "Power Profiling Kit 2 unofficial Python API"; homepage = "https://github.com/IRNAS/ppk2-api-python"; changelog = "https://github.com/IRNAS/ppk2-api-python/releases/tag/v${version}"; license = licenses.gpl2Only; maintainers = with maintainers; [ fab ]; }; }
pkgs/development/python-modules/print-color/default.nix 0 → 100644 +40 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, poetry-core, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "print-color"; version = "0.4.6"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "xy3"; repo = "print-color"; rev = "refs/tags/v${version}"; hash = "sha256-PHPbzzWG7smEsoTFYFT2tgXfCxUYjevpB9rxG2bZVy4="; }; build-system = [ poetry-core ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "print_color" ]; meta = with lib; { description = "Module to print color messages in the terminal"; homepage = "https://github.com/xy3/print-color"; changelog = "https://github.com/xy3/print-color/releases/tag/v${version}"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -10199,6 +10199,10 @@ self: super: with self; { ppdeep = callPackage ../development/python-modules/ppdeep { }; ppk2-api = callPackage ../development/python-modules/ppk2-api { }; print-color = callPackage ../development/python-modules/print-color { }; private-gpt = callPackage ../development/python-modules/private-gpt { }; prodict = callPackage ../development/python-modules/prodict { }; Loading