Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[24.05] paperless-ngx: 2.9.0 -> 2.10.1 #321725

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions pkgs/applications/office/paperless-ngx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
}:

let
version = "2.9.0";
version = "2.10.1";

src = fetchFromGitHub {
owner = "paperless-ngx";
repo = "paperless-ngx";
rev = "refs/tags/v${version}";
hash = "sha256-7dcZbuz3yi0sND6AEqIwIo9byeZheOpIAhmBpOW5lhU=";
hash = "sha256-M1S5ebdpw11Ot4h4xvbk/rbJxXom2dZ5Of+6eOlBIuE=";
};

# subpath installation is broken with uvicorn >= 0.26
Expand Down Expand Up @@ -74,7 +74,7 @@ let
cd src-ui
'';

npmDepsHash = "sha256-gLEzifZK8Ok1SOo3YIIV5pTx4cbedQh025VqkodYrYQ=";
npmDepsHash = "sha256-zmlYwlH2cnGbbKf6jt5zBLh0Iv3C9/xN0iA4xVetRNE=";

nativeBuildInputs = [
pkg-config
Expand Down Expand Up @@ -138,6 +138,7 @@ python.pkgs.buildPythonApplication rec {
django-filter
django-guardian
django-multiselectfield
django-soft-delete
djangorestframework
djangorestframework-guardian2
drf-writable-nested
Expand All @@ -153,7 +154,7 @@ python.pkgs.buildPythonApplication rec {
ocrmypdf
pathvalidate
pdf2image
psycopg2
psycopg
python-dateutil
python-dotenv
python-gnupg
Expand Down
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/django-soft-delete/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
lib,
buildPythonPackage,
fetchPypi,
django,
setuptools,
}:

buildPythonPackage rec {
pname = "django-soft-delete";
version = "1.0.13";
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-RDwApUwG0jb/iAbDJgJD13XMU2WB1zd8J4UICxBBzh0=";
};

dependencies = [ django ];

build-system = [ setuptools ];

# No tests
doCheck = false;

meta = {
description = "Soft delete models, managers, queryset for Django";
homepage = "https://github.com/san4ezy/django_softdelete";
license = lib.licenses.mit;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3362,6 +3362,8 @@ self: super: with self; {

django-sites = callPackage ../development/python-modules/django-sites { };

django-soft-delete = callPackage ../development/python-modules/django-soft-delete { };

django-sr = callPackage ../development/python-modules/django-sr { };

django-statici18n = callPackage ../development/python-modules/django-statici18n { };
Expand Down
Loading