about summary refs log tree commit diff
path: root/pkgs/development/python-modules/tld/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/tld/default.nix')
-rw-r--r--pkgs/development/python-modules/tld/default.nix29
1 files changed, 15 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/tld/default.nix b/pkgs/development/python-modules/tld/default.nix
index 8ec2c85d63a16..e6507b54c994c 100644
--- a/pkgs/development/python-modules/tld/default.nix
+++ b/pkgs/development/python-modules/tld/default.nix
@@ -1,10 +1,11 @@
-{ lib
-, buildPythonPackage
-, factory-boy
-, faker
-, fetchPypi
-, pytestCheckHook
-, pythonOlder
+{
+  lib,
+  buildPythonPackage,
+  factory-boy,
+  faker,
+  fetchPypi,
+  pytestCheckHook,
+  pythonOlder,
 }:
 
 buildPythonPackage rec {
@@ -23,9 +24,7 @@ buildPythonPackage rec {
     sed -i "/--cov/d" pytest.ini
   '';
 
-  nativeCheckInputs = [
-    pytestCheckHook
-  ];
+  nativeCheckInputs = [ pytestCheckHook ];
 
   checkInputs = [
     factory-boy
@@ -39,9 +38,7 @@ buildPythonPackage rec {
     echo > src/tld/tests/test_commands.py
   '';
 
-  pythonImportsCheck = [
-    "tld"
-  ];
+  pythonImportsCheck = [ "tld" ];
 
   meta = with lib; {
     description = "Extracts the top level domain (TLD) from the URL given";
@@ -50,7 +47,11 @@ buildPythonPackage rec {
     changelog = "https://github.com/barseghyanartur/tld/blob/${version}/CHANGELOG.rst";
     # https://github.com/barseghyanartur/tld/blob/master/README.rst#license
     # MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-or-later
-    license = with licenses; [ lgpl21Plus mpl11 gpl2Only ];
+    license = with licenses; [
+      lgpl21Plus
+      mpl11
+      gpl2Only
+    ];
     maintainers = with maintainers; [ fab ];
   };
 }