depot/third_party/nixpkgs/pkgs/development/python-modules/vxi11/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

32 lines
677 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
nose,
}:
buildPythonPackage rec {
pname = "python-vxi11";
version = "0.9";
# no tests in PyPI tarball
src = fetchFromGitHub {
owner = "python-ivi";
repo = pname;
rev = "v${version}";
sha256 = "1xv7chp7rm0vrvbz6q57fpwhlgjz461h08q9zgmkcl2l0w96hmsn";
};
nativeCheckInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = with lib; {
description = "VXI-11 driver for controlling instruments over Ethernet";
mainProgram = "vxi11-cli";
homepage = "https://github.com/python-ivi/python-vxi11";
license = licenses.mit;
maintainers = with maintainers; [ bgamari ];
};
}