about summary refs log tree commit diff
path: root/pkgs/applications/office/todoman
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2020-04-26 11:03:11 +0300
committerDoron Behar <doron.behar@gmail.com>2020-05-15 08:12:56 +0300
commit181dfe306f262e8e44f0952efa531f9e3c482ec5 (patch)
tree33986a161a11077ba676986b3855463f14768355 /pkgs/applications/office/todoman
parentfc0390590261eb9a148e13ab424e5b097757b4e9 (diff)
downloadnixlib-181dfe306f262e8e44f0952efa531f9e3c482ec5.tar
nixlib-181dfe306f262e8e44f0952efa531f9e3c482ec5.tar.gz
nixlib-181dfe306f262e8e44f0952efa531f9e3c482ec5.tar.bz2
nixlib-181dfe306f262e8e44f0952efa531f9e3c482ec5.tar.lz
nixlib-181dfe306f262e8e44f0952efa531f9e3c482ec5.tar.xz
nixlib-181dfe306f262e8e44f0952efa531f9e3c482ec5.tar.zst
nixlib-181dfe306f262e8e44f0952efa531f9e3c482ec5.zip
todoman: format inputs and arguments
Diffstat (limited to 'pkgs/applications/office/todoman')
-rw-r--r--pkgs/applications/office/todoman/default.nix57
1 files changed, 43 insertions, 14 deletions
diff --git a/pkgs/applications/office/todoman/default.nix b/pkgs/applications/office/todoman/default.nix
index e18a11a7448b..ca733f5fad16 100644
--- a/pkgs/applications/office/todoman/default.nix
+++ b/pkgs/applications/office/todoman/default.nix
@@ -1,4 +1,9 @@
-{ stdenv, python3, glibcLocales, installShellFiles, jq }:
+{ stdenv
+, python3
+, glibcLocales
+, installShellFiles
+, jq
+}:
 
 let
   inherit (python3.pkgs) buildPythonApplication fetchPypi;
@@ -12,22 +17,46 @@ buildPythonApplication rec {
     sha256 = "16brw2zhm5vamffin6qjb0lxjlj3ba40vaficl851nw2xh2mrdhy";
   };
 
-    LOCALE_ARCHIVE = stdenv.lib.optionalString stdenv.isLinux
-      "${glibcLocales}/lib/locale/locale-archive";
-    LANG = "en_US.UTF-8";
-    LC_TYPE = "en_US.UTF-8";
+  LOCALE_ARCHIVE = stdenv.lib.optionalString stdenv.isLinux
+    "${glibcLocales}/lib/locale/locale-archive";
+  LANG = "en_US.UTF-8";
+  LC_TYPE = "en_US.UTF-8";
 
-  nativeBuildInputs = [ installShellFiles ];
-  buildInputs = [ glibcLocales ];
-  propagatedBuildInputs = with python3.pkgs;
-    [ atomicwrites click click-log click-repl configobj humanize icalendar parsedatetime
-      python-dateutil pyxdg tabulate urwid ];
+  nativeBuildInputs = [
+    installShellFiles
+  ];
+  buildInputs = [
+    glibcLocales
+  ];
+  propagatedBuildInputs = with python3.pkgs; [
+    atomicwrites
+    click
+    click-log
+    click-repl
+    configobj
+    humanize
+    icalendar
+    parsedatetime
+    python-dateutil
+    pyxdg
+    tabulate
+    urwid
+  ];
 
-  checkInputs = with python3.pkgs;
-    [ flake8 flake8-import-order freezegun hypothesis pytest pytestrunner pytestcov ];
+  checkInputs = with python3.pkgs; [
+    flake8
+    flake8-import-order
+    freezegun
+    hypothesis
+    pytest
+    pytestrunner
+    pytestcov
+  ];
 
-  makeWrapperArgs = [ "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
-                      "--set CHARSET en_us.UTF-8" ];
+  makeWrapperArgs = [
+    "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
+    "--set CHARSET en_us.UTF-8"
+  ];
 
   postInstall = ''
     installShellCompletion --bash contrib/completion/bash/_todo