about summary refs log tree commit diff
path: root/pkgs/development/python-modules/rplcd/default.nix
blob: 899dc8c5c31eea93cc4c121b1144960708d3703f (plain) (blame)
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
29
30
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "rplcd";
  version = "1.3.1";
  format = "setuptools";

  src = fetchPypi {
    inherit version;
    pname = "RPLCD";
    hash = "sha256-uZ0pPzWK8cBSX8/qvcZGYEnlVdtWn/vKPyF1kfwU5Pk=";
  };

  # Disable check because it depends on a GPIO library
  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/dbrgn/RPLCD";
    description = ''
      Raspberry Pi LCD library for the widely used Hitachi HD44780 controller
    '';
    mainProgram = "rplcd-tests";
    license = licenses.mit;
    maintainers = with maintainers; [ onny ];
  };
}