From 775fce10fd537c59a68662c87c83c3fa6e12407c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Apr 2018 09:44:52 +0200 Subject: [PATCH] pythonPackages.vxi11: fix tests by fetching from GitHub --- pkgs/development/python-modules/vxi11/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/vxi11/default.nix b/pkgs/development/python-modules/vxi11/default.nix index 86b05b32540a..7bae1e9860be 100644 --- a/pkgs/development/python-modules/vxi11/default.nix +++ b/pkgs/development/python-modules/vxi11/default.nix @@ -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 ];