Skip to content

Commit

Permalink
pythonPackages.vxi11: fix tests by fetching from GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Apr 4, 2018
1 parent dae67d6 commit 775fce1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/development/python-modules/vxi11/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
Expand Down

0 comments on commit 775fce1

Please sign in to comment.