summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyfdt/default.nix
blob: 58970d022f32336a70d4a3b0b3e1f4c2d9e0e3b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

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

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

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

  pythonImportsCheck = [ "pyfdt" ];

  meta = {
    homepage = "https://github.com/superna9999/pyfdt";
    description = "Flattened device tree parser";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ ralismark ];
  };
}