about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sorl-thumbnail/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/sorl-thumbnail/default.nix')
-rw-r--r--pkgs/development/python-modules/sorl-thumbnail/default.nix32
1 files changed, 15 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/sorl-thumbnail/default.nix b/pkgs/development/python-modules/sorl-thumbnail/default.nix
index 2337d6b940c2..161c8119cb93 100644
--- a/pkgs/development/python-modules/sorl-thumbnail/default.nix
+++ b/pkgs/development/python-modules/sorl-thumbnail/default.nix
@@ -1,41 +1,39 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, pythonOlder
-, setuptools
-, setuptools-scm
-, django
+{
+  lib,
+  buildPythonPackage,
+  fetchPypi,
+  pythonOlder,
+  setuptools,
+  setuptools-scm,
+  django,
 }:
 
 buildPythonPackage rec {
   pname = "sorl-thumbnail";
-  version = "12.10.0";
+  version = "12.11.0";
   pyproject = true;
 
   disabled = pythonOlder "3.8";
 
   src = fetchPypi {
-    inherit pname version;
-    hash = "sha256-3pWkkhf9/s7SIvo86qAdMS7i+KrVa6NNbHDy3umoSTg=";
+    pname = "sorl_thumbnail";
+    inherit version;
+    hash = "sha256-GRuJwn7LQLXCo1VJ1VfRfEhBxq/0ObLhe5OLke6kY7M=";
   };
 
-  nativeBuildInputs = [
+  build-system = [
     setuptools
     setuptools-scm
   ];
 
-  buildInputs = [
-    django
-  ];
+  buildInputs = [ django ];
 
   env.DJANGO_SETTINGS_MODULE = "sorl.thumbnail.conf.defaults";
 
   # Disabled due to an improper configuration error when tested against django. This looks like something broken in the test cases for sorl.
   doCheck = false;
 
-  pythonImportsCheck = [
-    "sorl.thumbnail"
-  ];
+  pythonImportsCheck = [ "sorl.thumbnail" ];
 
   meta = with lib; {
     homepage = "https://sorl-thumbnail.readthedocs.org/en/latest/";