nixpkgs/pkgs/development/python-modules/vxi11/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
631 B
Nix
Raw Normal View History

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