about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pychm/default.nix
blob: 8b7c443d6684254eb406f63d51be28685e3f733c (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  chmlib,
}:

buildPythonPackage rec {
  pname = "pychm";
  version = "0.8.6";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0wpn9ijlsmrpyiwg3drmgz4dms1i1i347adgqw37bkrh3vn6yq16";
  };

  buildInputs = [ chmlib ];

  pythonImportsCheck = [ "chm" ];

  meta = with lib; {
    description = "Library to manipulate Microsoft HTML Help (CHM) files";
    homepage = "https://github.com/dottedmag/pychm";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ alexshpilkin ];
  };
}