about summary refs log tree commit diff
path: root/pkgs/development/python-modules/willow/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/willow/default.nix')
-rw-r--r--pkgs/development/python-modules/willow/default.nix53
1 files changed, 23 insertions, 30 deletions
diff --git a/pkgs/development/python-modules/willow/default.nix b/pkgs/development/python-modules/willow/default.nix
index 2b0058357d88d..48306d8ae1939 100644
--- a/pkgs/development/python-modules/willow/default.nix
+++ b/pkgs/development/python-modules/willow/default.nix
@@ -1,24 +1,24 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, pythonOlder
-
-# build-system
-, flit-core
-
-# dependencies
-, filetype
-, defusedxml
-
-# optional-dependencies
-, pillow-heif
-
-# tests
-, numpy
-, opencv4
-, pillow
-, pytestCheckHook
-, wand
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitHub,
+
+  # build-system
+  flit-core,
+
+  # dependencies
+  filetype,
+  defusedxml,
+
+  # optional-dependencies
+  pillow-heif,
+
+  # tests
+  numpy,
+  opencv4,
+  pillow,
+  pytestCheckHook,
+  wand,
 }:
 
 buildPythonPackage rec {
@@ -26,8 +26,6 @@ buildPythonPackage rec {
   version = "1.8.0";
   format = "pyproject";
 
-  disabled = pythonOlder "2.7";
-
   src = fetchFromGitHub {
     owner = "wagtail";
     repo = "Willow";
@@ -35,9 +33,7 @@ buildPythonPackage rec {
     hash = "sha256-g9/v56mdo0sJe5Pl/to/R/kXayaKK3qaYbnnPXpFjXE=";
   };
 
-  nativeBuildInputs = [
-    flit-core
-  ];
+  nativeBuildInputs = [ flit-core ];
 
   propagatedBuildInputs = [
     filetype
@@ -45,9 +41,7 @@ buildPythonPackage rec {
   ];
 
   passthru.optional-dependencies = {
-    heif = [
-      pillow-heif
-    ];
+    heif = [ pillow-heif ];
   };
 
   nativeCheckInputs = [
@@ -64,5 +58,4 @@ buildPythonPackage rec {
     license = licenses.bsd2;
     maintainers = with maintainers; [ desiderius ];
   };
-
 }