Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 62 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies cx-logging, distutils, filelock,
# tests pytest-mock, pytestCheckHook, versionCheckHook, writableTmpDirAsHomeHook,}:
buildPythonPackage (finalAttrs: { pname = "freeze-core"; version = "0.6.1"; pyproject = true;
src = fetchFromGitHub { owner = "marcelotduarte"; repo = "freeze-core"; tag = finalAttrs.version; hash = "sha256-88AODiBvIPq51l1rU+mshGknQk+3qoiR7I5mfNfNv50="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools~=82.0" "setuptools" '';
build-system = [ setuptools cx-logging ];
dependencies = [ distutils # needed to compile filelock ];
pythonImportsCheck = [ "freeze_core" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Core dependency for cx_Freeze"; changelog = "https://github.com/marcelotduarte/freeze-core/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; };})