Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonXXPackages.httpserver: init at 1.1.0 #25256

Closed
wants to merge 5 commits into from
Closed

pythonXXPackages.httpserver: init at 1.1.0 #25256

wants to merge 5 commits into from

Conversation

P-E-Meunier
Copy link
Contributor

Motivation for this change

SimpleHTTPServer is a python package that starts an HTTP server serving files in the local directory.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@P-E-Meunier, thanks for your PR! By analyzing the history of the files in this pull request, we identified @FRidh to be a potential reviewer.

@@ -2964,6 +2964,33 @@ in {
};
};

httpserver = buildPythonPackage rec {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please move expression to pkgs/development/python-modules/httpserver/default.nix

pname = "httpserver";
version = "1.1.0";
buildInputs = with self; [ docopt ];
doCheck = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you disable the tests? If you disable the tests, always include a comment.

version = "1.1.0";
buildInputs = with self; [ docopt ];
doCheck = false;
src = pkgs.fetchurl {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fetchPypi

@@ -22154,6 +22181,7 @@ in {
};
};


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this shouldn't be included

@FRidh
Copy link
Member

FRidh commented May 4, 2017

Don't merge, rebase instead. If you need help with it or like me to do it let me know.

@P-E-Meunier
Copy link
Contributor Author

Please go ahead!

If this PR requires me to start fiddling with git, I'm willing to abandon this it.

@FRidh
Copy link
Member

FRidh commented May 4, 2017

there it is 5db271c

@FRidh FRidh closed this May 4, 2017
@P-E-Meunier
Copy link
Contributor Author

Awesome! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants