pythonPackages.vxi11: fix tests by fetching from GitHub

This commit is contained in:
Robert Schütz 2018-04-04 09:44:52 +02:00
parent dae67d6524
commit 775fce10fd

View file

@ -1,12 +1,15 @@
{ stdenv, buildPythonPackage, fetchPypi, nose }:
{ stdenv, buildPythonPackage, fetchFromGitHub, nose }:
buildPythonPackage rec {
pname = "python-vxi11";
version = "0.9";
src = fetchPypi {
inherit pname version;
sha256 = "1zvd0wxp6mccaxy9fzlzk3i4pr2ggnj79r3awimjqd89pvaxiyq1";
# no tests in PyPI tarball
src = fetchFromGitHub {
owner = "python-ivi";
repo = pname;
rev = "v${version}";
sha256 = "1xv7chp7rm0vrvbz6q57fpwhlgjz461h08q9zgmkcl2l0w96hmsn";
};
checkInputs = [ nose ];