about summary refs log tree commit diff
path: root/pkgs/development/python-modules/celery-types
diff options
context:
space:
mode:
authorEnno Richter <enno@nerdworks.de>2023-06-23 15:34:18 +0200
committerEnno Richter <enno@nerdworks.de>2023-08-08 12:45:06 +0200
commit173988fa9a5958b7f05e33ccb2c3857cfaf32e6b (patch)
treee4511c390521994bb61025b0f65314807fc04bd2 /pkgs/development/python-modules/celery-types
parent9331708da6f6596e1e702a98c43dd7685156683a (diff)
python3Packages.celery-types: init at 0.19.0
Diffstat (limited to 'pkgs/development/python-modules/celery-types')
-rw-r--r--pkgs/development/python-modules/celery-types/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/celery-types/default.nix b/pkgs/development/python-modules/celery-types/default.nix
new file mode 100644
index 0000000000000..afa96788b4ef0
--- /dev/null
+++ b/pkgs/development/python-modules/celery-types/default.nix
@@ -0,0 +1,38 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, poetry-core
+, typing-extensions
+}:
+
+buildPythonPackage rec {
+  pname = "celery-types";
+  version = "0.19.0";
+  format = "pyproject";
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha256-1OLUJxsuxG/sCKDxKiU4i7o5HyaJdIW8rPo8UofMI28=";
+  };
+
+  patchPhase = ''
+    substituteInPlace pyproject.toml \
+      --replace "poetry.masonry.api" "poetry.core.masonry.api"
+  '';
+
+  propagatedBuildInputs = [
+    typing-extensions
+  ];
+
+  nativeBuildInputs = [
+    poetry-core
+  ];
+
+  doCheck = false;
+
+  meta = with lib; {
+    description = "PEP-484 stubs for Celery";
+    license = licenses.mit;
+    maintainers = with maintainers; [ elohmeier ];
+  };
+}