Skip to content

Commit

Permalink
Add some cosmetic changes to the generated expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
cript0nauta committed Jun 28, 2020
1 parent 48a6feb commit 09cece9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pynixify/expression_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

expression_template = Template("""${DISCLAIMER}
{ ${', '.join(args)} }:
buildPythonPackage rec {
pname = ${package.pypi_name | nix};
version = ${version | nix};
Expand Down Expand Up @@ -62,7 +63,6 @@
% endif
% if test_requirements:
doCheck = true;
checkPhase = "true # TODO fill with the real command for testing";
% else:
# TODO FIXME
Expand All @@ -79,7 +79,7 @@
checkInputs = [ ${' '.join(test_requirements)} ];
% endif
meta = {
meta = with lib; {
% if metadata.description:
description = ${metadata.description | nix };
% endif
Expand Down

0 comments on commit 09cece9

Please sign in to comment.