nixpkgs/pkgs/development/python-modules/insegel/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
624 B
Nix

{ lib, buildPythonPackage, fetchPypi, pygments }:
buildPythonPackage rec {
pname = "insegel";
version = "1.3.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1d055dd64f6eb335580a485271511ba2f4e3b5e315f48f827f58da3cace4b4ae";
};
propagatedBuildInputs = [ pygments ];
# No tests included
doCheck = false;
pythonImportsCheck = [
"insegel"
];
meta = with lib; {
homepage = "https://github.com/autophagy/insegel";
description = "A monochrome 2 column Sphinx theme";
license = licenses.mit;
maintainers = with maintainers; [ autophagy ];
};
}