todoman: format inputs and arguments
This commit is contained in:
parent
fc03905902
commit
181dfe306f
@ -1,4 +1,9 @@
|
||||
{ stdenv, python3, glibcLocales, installShellFiles, jq }:
|
||||
{ stdenv
|
||||
, python3
|
||||
, glibcLocales
|
||||
, installShellFiles
|
||||
, jq
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (python3.pkgs) buildPythonApplication fetchPypi;
|
||||
@ -17,17 +22,41 @@ buildPythonApplication rec {
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user