nixpkgs/pkgs/development/python-modules/monkeyhex/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

32 lines
751 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 = {
description = "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 = lib.licenses.mit;
maintainers = [ lib.maintainers.pamplemousse ];
};
}