mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
02dab4ab5c
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
29 lines
586 B
Nix
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 ];
|
|
};
|
|
}
|