1{
2 lib,
3 stdenv,
4 buildPythonPackage,
5 fetchPypi,
6 setuptools-scm,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "dlinfo";
12 version = "1.2.1";
13
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "5f6f43b47f3aa5fe12bd347cf536dc8fca6068c61a0a260e408bec7f6eb4bd38";
19 };
20
21 nativeBuildInputs = [ setuptools-scm ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "dlinfo" ];
26
27 meta = {
28 description = "Python wrapper for libc's dlinfo and dyld_find on Mac";
29 homepage = "https://github.com/cloudflightio/python-dlinfo";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ dotlambda ];
32 broken = stdenv.isDarwin;
33 };
34}