about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/acpic/default.nix
blob: 6b37ef6b8e65334687cbd7887772357722f08471 (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
{ lib
, fetchPypi
, python3Packages
}:

python3Packages.buildPythonApplication rec {
  pname = "acpic";
  version = "1.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit version pname;
    hash = "sha256-vQ9VxCNbOmqHIY3e1wq1wNJl5ywfU2tm62gDg3vKvcg=";
  };

  nativeBuildInputs = [
    python3Packages.pbr
  ];

  # no tests
  doCheck = false;

  meta = with lib; {
    description = "Daemon extending acpid event handling capabilities.";
    homepage = "https://github.com/psliwka/acpic";
    license = licenses.wtfpl;
    maintainers = with maintainers; [ aacebedo ];
  };
}