From 074a6ffb981a7c97876dcb93e0d5c2113a9bd74c Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sun, 11 Feb 2024 17:14:24 +0100 Subject: 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 --- pkgs/python/bw-file-resubmit.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/python/bw-file-resubmit.nix (limited to 'pkgs/python/bw-file-resubmit.nix') 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 + ]; +} -- cgit v1.2.3