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 { buildPythonPackage rec {
pname = "python-vxi11"; pname = "python-vxi11";
version = "0.9"; version = "0.9";
src = fetchPypi { # no tests in PyPI tarball
inherit pname version; src = fetchFromGitHub {
sha256 = "1zvd0wxp6mccaxy9fzlzk3i4pr2ggnj79r3awimjqd89pvaxiyq1"; owner = "python-ivi";
repo = pname;
rev = "v${version}";
sha256 = "1xv7chp7rm0vrvbz6q57fpwhlgjz461h08q9zgmkcl2l0w96hmsn";
}; };
checkInputs = [ nose ]; checkInputs = [ nose ];