Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
862 B · 36 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637{ 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; };}