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

python3.8-hdlparse: Init at 1.0.4 #94961

Closed
wants to merge 4 commits into from
Closed

python3.8-hdlparse: Init at 1.0.4 #94961

wants to merge 4 commits into from

Conversation

elliottvillars
Copy link
Contributor

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Signed-off-by: Elliott Villars <elliottvillars@gmail.com>
Signed-off-by: Elliott Villars <elliottvillars@gmail.com>
Signed-off-by: Elliott Villars <elliottvillars@gmail.com>

buildPythonPackage rec {
pname = "hdlparse";
version = "1.0.4";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
version = "1.0.4";
version = "1.0.4";

{stdenv,buildPythonPackage, fetchPypi}:

buildPythonPackage rec {
pname = "hdlparse";
Copy link
Contributor

Choose a reason for hiding this comment

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

two spaces is standard indention

Suggested change
pname = "hdlparse";
pname = "hdlparse";

};

#This module does not contain any tests.
doCheck = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
doCheck = false;
doCheck = false;

sha256 = "fb6230ed1e7a04a8f82f8d3fb59791d0751ae35e5b8e58dbbf2cbcf100d0d0f2";
};

#This module does not contain any tests.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
#This module does not contain any tests.
# This module does not contain any tests.

@@ -0,0 +1,22 @@
{stdenv,buildPythonPackage, fetchPypi}:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
{stdenv,buildPythonPackage, fetchPypi}:
{ stdenv, buildPythonPackage, fetchPypi}:

@@ -0,0 +1,22 @@
{stdenv,buildPythonPackage, fetchPypi}:
Copy link
Contributor

Choose a reason for hiding this comment

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

stdenv isn't used

Suggested change
{stdenv,buildPythonPackage, fetchPypi}:
{lib,buildPythonPackage, fetchPypi}:


#This module does not contain any tests.
doCheck = false;
meta = with stdenv.lib; {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
meta = with stdenv.lib; {
meta = with lib; {

#This module does not contain any tests.
doCheck = false;
meta = with stdenv.lib; {
homepage = https://kevinpt.github.io/hdlparse/;
Copy link
Contributor

Choose a reason for hiding this comment

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

rfc 45

Suggested change
homepage = https://kevinpt.github.io/hdlparse/;
homepage = "https://kevinpt.github.io/hdlparse/";

doCheck = false;
meta = with stdenv.lib; {
homepage = https://kevinpt.github.io/hdlparse/;
description = "Hdlparse is a simple package implementing a rudimentary parser for VHDL and Verilog.";
Copy link
Contributor

Choose a reason for hiding this comment

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

Already in context of the package, no period

Suggested change
description = "Hdlparse is a simple package implementing a rudimentary parser for VHDL and Verilog.";
description = "Rudimentary parser for VHDL and Verilog";

@jonringer
Copy link
Contributor

please squash all the commits, should be two:

Please make this into a separate commit:

maintainers: add elliottvillars
python3Packages.hdlparse: init at 1.0.4

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

2 participants