Loading pkgs/by-name/al/alot/package.nix +18 −16 Original line number Diff line number Diff line { lib, python311, python3, python3Packages, fetchFromGitHub, file, gnupg, gawk, procps, Loading @@ -10,8 +10,7 @@ withManpage ? false, }: with python311.pkgs; buildPythonApplication rec { python3Packages.buildPythonApplication rec { pname = "alot"; version = "0.11"; pyproject = true; Loading @@ -35,32 +34,35 @@ buildPythonApplication rec { --replace-fail /usr/share "$out/share" ''; build-system = [ build-system = with python3Packages; [ setuptools setuptools-scm ] ++ lib.optional withManpage sphinx; dependencies = [ dependencies = with python3Packages; [ configobj file gpgme notmuch2 python-magic service-identity standard-mailcap twisted urwid urwidtrees ]; nativeCheckInputs = [ future gawk gnupg mock notmuch procps ] ++ (with python3Packages; [ pytestCheckHook notmuch ]; mock ]); postBuild = lib.optionalString withManpage [ "make -C docs man" Loading @@ -76,7 +78,7 @@ buildPythonApplication rec { postInstall = let completionPython = python.withPackages (ps: [ ps.configobj ]); completionPython = python3.withPackages (ps: [ ps.configobj ]); in lib.optionalString withManpage '' mkdir -p $out/man Loading Loading
pkgs/by-name/al/alot/package.nix +18 −16 Original line number Diff line number Diff line { lib, python311, python3, python3Packages, fetchFromGitHub, file, gnupg, gawk, procps, Loading @@ -10,8 +10,7 @@ withManpage ? false, }: with python311.pkgs; buildPythonApplication rec { python3Packages.buildPythonApplication rec { pname = "alot"; version = "0.11"; pyproject = true; Loading @@ -35,32 +34,35 @@ buildPythonApplication rec { --replace-fail /usr/share "$out/share" ''; build-system = [ build-system = with python3Packages; [ setuptools setuptools-scm ] ++ lib.optional withManpage sphinx; dependencies = [ dependencies = with python3Packages; [ configobj file gpgme notmuch2 python-magic service-identity standard-mailcap twisted urwid urwidtrees ]; nativeCheckInputs = [ future gawk gnupg mock notmuch procps ] ++ (with python3Packages; [ pytestCheckHook notmuch ]; mock ]); postBuild = lib.optionalString withManpage [ "make -C docs man" Loading @@ -76,7 +78,7 @@ buildPythonApplication rec { postInstall = let completionPython = python.withPackages (ps: [ ps.configobj ]); completionPython = python3.withPackages (ps: [ ps.configobj ]); in lib.optionalString withManpage '' mkdir -p $out/man Loading