10 buildPythonPackage rec {
11 pname = "gpib-ctypes";
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
18 pname = "gpib_ctypes";
20 hash = "sha256-c9l6TNmM4PtbvopnnFi5R1dQ9o3MI39BHHHPSGqfjCY=";
23 nativeCheckInputs = [ pytestCheckHook ];
26 substituteInPlace gpib_ctypes/gpib/gpib.py \
27 --replace "libgpib.so.0" "${linux-gpib}/lib/libgpib.so.0"
28 substituteInPlace setup.py \
29 --replace "'pytest-runner'," ""
32 pythonImportsCheck = [ "gpib_ctypes.gpib" ];
35 description = "Cross-platform Python bindings for the NI GPIB and linux-gpib C interfaces";
36 homepage = "https://github.com/tivek/gpib_ctypes/";
37 changelog = "https://github.com/tivek/gpib_ctypes/blob/${version}/HISTORY.rst";
38 license = licenses.gpl2Only;
39 maintainers = with maintainers; [ fsagbuya ];