depot/third_party/nixpkgs/pkgs/development/python-modules/vxi11/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
641 B
Nix

{ stdenv, 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";
};
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = with stdenv.lib; {
description = "VXI-11 driver for controlling instruments over Ethernet";
homepage = "https://github.com/python-ivi/python-vxi11";
license = licenses.mit;
maintainers = with maintainers; [ bgamari ];
};
}