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:
parent
dae67d6524
commit
775fce10fd
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue