summaryrefslogtreecommitdiff
path: root/pkgs/python
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/python/django-pgtrigger.nix25
-rw-r--r--pkgs/python/s3-tar.nix21
2 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/python/django-pgtrigger.nix b/pkgs/python/django-pgtrigger.nix
new file mode 100644
index 0000000..be266b4
--- /dev/null
+++ b/pkgs/python/django-pgtrigger.nix
@@ -0,0 +1,25 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, django
+, python
+, poetry-core
+, s3-tar
+}:
+
+buildPythonPackage rec {
+ pname = "django_pgtrigger";
+ version = "4.13.2";
+ pyproject = true;
+
+ src = fetchPypi {
+ inherit pname version;
+ hash = "sha256-9NkG3zpt3hq8QriLNRvZQsGA/ijftmT/TnZuvivY/YE=";
+ };
+
+ nativeCheckInputs = [
+ django
+ poetry-core
+ s3-tar
+ ];
+}
diff --git a/pkgs/python/s3-tar.nix b/pkgs/python/s3-tar.nix
new file mode 100644
index 0000000..8778bc7
--- /dev/null
+++ b/pkgs/python/s3-tar.nix
@@ -0,0 +1,21 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, python
+, boto3
+}:
+
+buildPythonPackage rec {
+ pname = "s3-tar";
+ version = "0.1.13";
+ format = "setuptools";
+
+ src = fetchPypi {
+ inherit pname version;
+ hash = "sha256-0LPuK/NYp+mVFUlrlAdrbrsT8kM6WhVfg5Jb1LW9wgU=";
+ };
+
+ propagatedBuildInputs = [
+ boto3
+ ];
+}