Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
862 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dlinfo";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "fphammerle";
repo = "python-dlinfo";
tag = "v${version}";
hash = "sha256-W9WfXU5eIMQQImzRgTJS0KL4IZfRtLrK8TYmdEc0VLI=";
};
build-system = [ setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dlinfo" ];
meta = {
changelog = "https://github.com/fphammerle/python-dlinfo/blob/${src.tag}/CHANGELOG.md";
description = "Python wrapper for libc's dlinfo and dyld_find on Mac";
homepage = "https://github.com/fphammerle/python-dlinfo";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
broken = stdenv.hostPlatform.isDarwin;
};
}