From 02652438fcbeb637cf834389f425cb436dbe98b0 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Fri, 13 Sep 2024 17:26:37 +0100 Subject: [PATCH] python3Packages.keke: init at 0.1.4 Signed-off-by: Sefa Eyeoglu --- .../python-modules/keke/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/keke/default.nix diff --git a/pkgs/development/python-modules/keke/default.nix b/pkgs/development/python-modules/keke/default.nix new file mode 100644 index 000000000000..d6fdb3549d80 --- /dev/null +++ b/pkgs/development/python-modules/keke/default.nix @@ -0,0 +1,41 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, + wheel, + setuptools-scm, +}: + +buildPythonPackage rec { + pname = "keke"; + version = "0.1.4"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-qGU7fZk23a4I0eosKY5eNqUOs3lwXj90qwix9q44MaA="; + }; + + installCheckPhase = '' + python -m keke.tests + ''; + + nativeBuildInputs = [ setuptools-scm ]; + + build-system = [ + setuptools + wheel + ]; + + pythonImportsCheck = [ + "keke" + ]; + + meta = { + description = "Easy profiling in chrome trace format"; + homepage = "https://pypi.org/project/keke/"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ matthewcroughan ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fb1c6cdddf59..e9d1de83773f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6674,6 +6674,8 @@ self: super: with self; { kegtron-ble = callPackage ../development/python-modules/kegtron-ble { }; + keke = callPackage ../development/python-modules/keke { }; + keras-applications = callPackage ../development/python-modules/keras-applications { }; keras = callPackage ../development/python-modules/keras { };