summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/demoji/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/demoji/default.nix')
-rw-r--r--pkgs/development/python-modules/demoji/default.nix31
1 files changed, 12 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/demoji/default.nix b/pkgs/development/python-modules/demoji/default.nix
index f8ce40a77de1..4538f6c9c8be 100644
--- a/pkgs/development/python-modules/demoji/default.nix
+++ b/pkgs/development/python-modules/demoji/default.nix
@@ -1,10 +1,11 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, setuptools
-, pythonOlder
-, pytestCheckHook
-, ujson
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitHub,
+ setuptools,
+ pythonOlder,
+ pytestCheckHook,
+ ujson,
}:
buildPythonPackage rec {
@@ -26,23 +27,15 @@ buildPythonPackage rec {
--replace-fail "pytest-runner" ""
'';
- build-system = [
- setuptools
- ];
+ build-system = [ setuptools ];
passthru.optional-dependencies = {
- ujson = [
- ujson
- ];
+ ujson = [ ujson ];
};
- nativeCheckInputs = [
- pytestCheckHook
- ];
+ nativeCheckInputs = [ pytestCheckHook ];
- pythonImportsCheck = [
- "demoji"
- ];
+ pythonImportsCheck = [ "demoji" ];
meta = with lib; {
description = "Module to find/replace/remove emojis in text strings";