From aecc1c5dbf1ea5677d111a6834d86af3a96a3c54 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 26 Jan 2026 12:10:31 +0100 Subject: [PATCH] python313Packages.fastgit: init at 0.0.1 Module to use git https://github.com/AnswerDotAI/fastgit --- .../python-modules/fastgit/default.nix | 37 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/python-modules/fastgit/default.nix diff --git a/pkgs/development/python-modules/fastgit/default.nix b/pkgs/development/python-modules/fastgit/default.nix new file mode 100644 index 000000000000..659edadee631 --- /dev/null +++ b/pkgs/development/python-modules/fastgit/default.nix @@ -0,0 +1,37 @@ +{ + lib, + buildPythonPackage, + fastcore, + fetchFromGitHub, + setuptools, +}: + +buildPythonPackage (finalAttrs: { + pname = "fastgit"; + version = "0.0.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "AnswerDotAI"; + repo = "fastgit"; + tag = finalAttrs.version; + hash = "sha256-zpX8Y8Cuoeh8oeYJjZOD2KZByu7OUwOva546gBP5iZs="; + }; + + build-system = [ setuptools ]; + + dependencies = [ fastcore ]; + + pythonImportsCheck = [ "fastgit" ]; + + # Module has no tests + doCheck = false; + + meta = { + description = "Module to use git"; + homepage = "https://github.com/AnswerDotAI/fastgit"; + changelog = "https://github.com/AnswerDotAI/fastgit/blob/${finalAttrs.src.tag}/CHANGELOG.md"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ fab ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index af7274836ca1..9632840bd736 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5302,6 +5302,8 @@ self: super: with self; { fastexcel = callPackage ../development/python-modules/fastexcel { }; + fastgit = callPackage ../development/python-modules/fastgit { }; + fastimport = callPackage ../development/python-modules/fastimport { }; fastjet = callPackage ../development/python-modules/fastjet { };