diff --git a/pkgs/development/python-modules/pyfdt/default.nix b/pkgs/development/python-modules/pyfdt/default.nix new file mode 100644 index 0000000000000..7a87372ef3b58 --- /dev/null +++ b/pkgs/development/python-modules/pyfdt/default.nix @@ -0,0 +1,25 @@ +{ + lib, + buildPythonPackage, + fetchPypi, +}: + +buildPythonPackage rec { + pname = "pyfdt"; + version = "0.3"; + + src = fetchPypi { + inherit version; + pname = "pyfdt"; + hash = "sha256:1w7lp421pssfgv901103521qigwb12i6sk68lqjllfgz0lh1qq31"; + }; + + pythonImportsCheck = [ "pyfdt" ]; + + meta = { + homepage = "https://github.com/superna9999/pyfdt"; + description = "Flattened device tree parser"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ ralismark ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ff5188e5e6496..fe194e83000a9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };