depot/third_party/nixpkgs/pkgs/development/python-modules/pychm/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

27 lines
561 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, chmlib
}:
buildPythonPackage rec {
pname = "pychm";
version = "0.8.6";
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 ];
};
}