depot/third_party/nixpkgs/pkgs/development/python-modules/pychm/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

28 lines
578 B
Nix

{
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 ];
};
}