1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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 ];