python313Packages.dlinfo: 1.2.1 -> 2.0.0

Changelog: https://github.com/fphammerle/python-dlinfo/blob/v2.0.0/CHANGELOG.md
This commit is contained in:
Robert Schütz
2025-01-21 17:23:10 -08:00
parent 4c8857ab06
commit 3d0eeff147
@@ -2,31 +2,33 @@
lib,
stdenv,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dlinfo";
version = "1.2.1";
version = "2.0.0";
pyproject = true;
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "5f6f43b47f3aa5fe12bd347cf536dc8fca6068c61a0a260e408bec7f6eb4bd38";
src = fetchFromGitHub {
owner = "fphammerle";
repo = "python-dlinfo";
tag = "v${version}";
hash = "sha256-W9WfXU5eIMQQImzRgTJS0KL4IZfRtLrK8TYmdEc0VLI=";
};
nativeBuildInputs = [ setuptools-scm ];
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/cloudflightio/python-dlinfo";
homepage = "https://github.com/fphammerle/python-dlinfo";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
broken = stdenv.hostPlatform.isDarwin;