summaryrefslogtreecommitdiff
path: root/pkgs/python
diff options
context:
space:
mode:
authorstuebinm2024-02-11 17:14:24 +0100
committerstuebinm2024-02-11 17:14:24 +0100
commit074a6ffb981a7c97876dcb93e0d5c2113a9bd74c (patch)
tree69880436b140b675009434cd5101a5711f18528a /pkgs/python
parent062d966cb4790437dbd5050c3fb84925a0fa3a96 (diff)
pkgs: init bookwyrm
this is still missing: - a nice way to do settings - lots of testing (run the manage.py test script in a nixos test?) - an actual way to deploy this in a halfway reasonable way
Diffstat (limited to 'pkgs/python')
-rw-r--r--pkgs/python/bw-file-resubmit.nix27
-rw-r--r--pkgs/python/django-imagekit.nix30
-rw-r--r--pkgs/python/django-sass-processor.nix30
3 files changed, 87 insertions, 0 deletions
diff --git a/pkgs/python/bw-file-resubmit.nix b/pkgs/python/bw-file-resubmit.nix
new file mode 100644
index 0000000..b21234f
--- /dev/null
+++ b/pkgs/python/bw-file-resubmit.nix
@@ -0,0 +1,27 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, django
+, python
+, setuptools
+}:
+
+buildPythonPackage rec {
+ pname = "bw-file-resubmit";
+ version = "0.6.0rc2";
+ format = "pyproject";
+
+ src = fetchPypi {
+ inherit pname version;
+ hash = "sha256-wWZcRMRTCYCIOKtgaIQPIqxZ+8T49cZVsBXm0bJT+Ew=";
+ };
+
+ propagatedBuildInputs = [
+ django
+ setuptools
+ ];
+
+ nativeCheckInputs = [
+ django
+ ];
+}
diff --git a/pkgs/python/django-imagekit.nix b/pkgs/python/django-imagekit.nix
new file mode 100644
index 0000000..9a11a4f
--- /dev/null
+++ b/pkgs/python/django-imagekit.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, django-appconf
+, pilkit
+, django
+, python
+}:
+
+buildPythonPackage rec {
+ pname = "django-imagekit";
+ version = "4.1.0";
+ format = "setuptools";
+
+ src = fetchPypi {
+ inherit pname version;
+ hash = "sha256-5VmuquQ6M7NPh2Man6VpZFXkRR/6c4pCY1/eRC/trFw=";
+ };
+
+ propagatedBuildInputs = [
+ django-appconf
+ pilkit
+ ];
+
+ nativeCheckInputs = [
+ django
+ ];
+
+ doCheck = false;
+}
diff --git a/pkgs/python/django-sass-processor.nix b/pkgs/python/django-sass-processor.nix
new file mode 100644
index 0000000..90bba5f
--- /dev/null
+++ b/pkgs/python/django-sass-processor.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, django-compressor
+, libsass
+, django
+, python
+}:
+
+buildPythonPackage rec {
+ pname = "django-sass-processor";
+ version = "1.2.2";
+ format = "setuptools";
+
+ src = fetchPypi {
+ inherit pname version;
+ hash = "sha256-9gmMGBzJWiFZPfa7UCeR4yAVYVIigD3iFv3Mi7QsD3c=";
+ };
+
+ propagatedBuildInputs = [
+ django-compressor
+ libsass
+ ];
+
+ nativeCheckInputs = [
+ django
+ ];
+
+ doCheck = false;
+}