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

paperless-ngx: 2.9.0 -> 2.10.1, python3Packages.django-soft-delete: init at 1.0.13 #321072

Merged
merged 2 commits into from
Jun 22, 2024
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 @@ -86,7 +86,7 @@ let
cd src-ui
'';

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

nativeBuildInputs = [
pkg-config
Expand Down Expand Up @@ -150,6 +150,7 @@ python.pkgs.buildPythonApplication rec {
django-filter
django-guardian
django-multiselectfield
django-soft-delete
djangorestframework
djangorestframework-guardian2
drf-writable-nested
Expand All @@ -165,7 +166,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 @@ -3395,6 +3395,8 @@ self: super: with self; {

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

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

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

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