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

python312Packages.pyfdt: init at 0.3 #322590

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions pkgs/development/python-modules/pyfdt/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
lib,
buildPythonPackage,
fetchPypi,
}:

buildPythonPackage rec {
pname = "pyfdt";
version = "0.3";

src = fetchPypi {
inherit version;
pname = "pyfdt";
hash = "sha256:1w7lp421pssfgv901103521qigwb12i6sk68lqjllfgz0lh1qq31";
};

ralismark marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
doCheck = false; # tests do not compile, see https://github.com/superna9999/pyfdt/issues/21

Then we at least explain why tests are not run.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

doCheck = false; would disable the import check, would it not?

Copy link
Member

Choose a reason for hiding this comment

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

No, that is still run.

pythonImportsCheck = [ "pyfdt" ];

meta = {
homepage = "https://github.com/superna9999/pyfdt";
description = "Flattened device tree parser";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ralismark ];
};
}
ralismark marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10052,6 +10052,8 @@ self: super: with self; {

pycycling = callPackage ../development/python-modules/pycycling { };

pyfdt = callPackage ../development/python-modules/pyfdt { };

pyfibaro = callPackage ../development/python-modules/pyfibaro { };

pyfireservicerota = callPackage ../development/python-modules/pyfireservicerota { };
Expand Down
Loading