Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies readchar, colorama,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "cutie"; version = "0.3.2"; pyproject = true; __structuredAttrs = true;
src = fetchFromGitHub { owner = "kamik423"; repo = "cutie"; tag = finalAttrs.version; hash = "sha256-Z9GNvTrCgb+EDqlhHcOjn78Pli0Uc1HuVN2FrjTQobs="; };
# https://docs.python.org/3/whatsnew/3.12.html#whatsnew312-removed-imp postPatch = '' substituteInPlace setup.py \ --replace-fail "import imp" "import types" \ --replace-fail \ 'cutie = imp.new_module("cutie")' \ 'cutie = types.ModuleType("cutie")' '';
build-system = [ setuptools ];
dependencies = [ colorama readchar ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cutie" ];
meta = { description = "Command line User Tools for Input Easification"; homepage = "https://github.com/kamik423/cutie"; changelog = "https://github.com/kamik423/cutie/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ gigahawk ]; };})