nixpkgs/pkgs/development/python-modules/pychm/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

29 lines
586 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, 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 ];
};
}