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