1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "pyfdt";
9 version = "0.3";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit version;
14 pname = "pyfdt";
15 hash = "sha256:1w7lp421pssfgv901103521qigwb12i6sk68lqjllfgz0lh1qq31";
16 };
17
18 doCheck = false; # tests do not compile, see https://github.com/superna9999/pyfdt/issues/21
19
20 pythonImportsCheck = [ "pyfdt" ];
21
22 meta = {
23 homepage = "https://github.com/superna9999/pyfdt";
24 description = "Flattened device tree parser";
25 license = lib.licenses.asl20;
26 maintainers = with lib.maintainers; [ ralismark ];
27 };
28}