nixpkgs/pkgs/development/python-modules/monkeyhex/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

32 lines
749 B
Nix

{ buildPythonPackage
, fetchPypi
, future
, lib
}:
buildPythonPackage rec {
pname = "monkeyhex";
version = "1.7.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "a646096dd3114ee8a7c6f30363f38c288ec56c4e032c8fc7e681792b604dd122";
};
propagatedBuildInputs = [ future ];
# No tests in repo.
doCheck = false;
# Verify import still works.
pythonImportsCheck = [ "monkeyhex" ];
meta = with lib; {
description = "A small library to assist users of the python shell who work in contexts where printed numbers are more usefully viewed in hexadecimal";
homepage = "https://github.com/rhelmot/monkeyhex";
license = licenses.mit;
maintainers = [ maintainers.pamplemousse ];
};
}