lol

python313Packages.dlinfo: 1.2.1 -> 2.0.0

Changelog: https://github.com/fphammerle/python-dlinfo/blob/v2.0.0/CHANGELOG.md

+11 -9
+11 -9
pkgs/development/python-modules/dlinfo/default.nix
··· 2 2 lib, 3 3 stdenv, 4 4 buildPythonPackage, 5 - fetchPypi, 5 + fetchFromGitHub, 6 6 setuptools-scm, 7 7 pytestCheckHook, 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 11 pname = "dlinfo"; 12 - version = "1.2.1"; 13 - 14 - format = "setuptools"; 12 + version = "2.0.0"; 13 + pyproject = true; 15 14 16 - src = fetchPypi { 17 - inherit pname version; 18 - sha256 = "5f6f43b47f3aa5fe12bd347cf536dc8fca6068c61a0a260e408bec7f6eb4bd38"; 15 + src = fetchFromGitHub { 16 + owner = "fphammerle"; 17 + repo = "python-dlinfo"; 18 + tag = "v${version}"; 19 + hash = "sha256-W9WfXU5eIMQQImzRgTJS0KL4IZfRtLrK8TYmdEc0VLI="; 19 20 }; 20 21 21 - nativeBuildInputs = [ setuptools-scm ]; 22 + build-system = [ setuptools-scm ]; 22 23 23 24 nativeCheckInputs = [ pytestCheckHook ]; 24 25 25 26 pythonImportsCheck = [ "dlinfo" ]; 26 27 27 28 meta = { 29 + changelog = "https://github.com/fphammerle/python-dlinfo/blob/${src.tag}/CHANGELOG.md"; 28 30 description = "Python wrapper for libc's dlinfo and dyld_find on Mac"; 29 - homepage = "https://github.com/cloudflightio/python-dlinfo"; 31 + homepage = "https://github.com/fphammerle/python-dlinfo"; 30 32 license = lib.licenses.mit; 31 33 maintainers = with lib.maintainers; [ dotlambda ]; 32 34 broken = stdenv.hostPlatform.isDarwin;