Skip to content

Commit

Permalink
python313Packages.dlinfo: 1.2.1 -> 2.0.0 (NixOS#375703)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda authored Feb 2, 2025
2 parents 2b31d58 + 3d0eeff commit a608eba
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions pkgs/development/python-modules/dlinfo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a608eba

Please sign in to comment.