python3Packages.opensimplex: 0.3 -> 0.4.2
This commit is contained in:
parent
cff82556ec
commit
bff4b9cdc7
@ -1,24 +1,25 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nose
|
, numpy
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "opensimplex";
|
pname = "opensimplex";
|
||||||
version = "0.3";
|
version = "0.4.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lmas";
|
owner = "lmas";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "idF5JQGnAye6z3c3YU9rsHaebB3rlHJfA8vSpjDnFeM=";
|
sha256 = "zljS0yu3cHF2Vz3rFkwLXiHnKjo970MDIrC/56FoHa4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ nose ];
|
propagatedBuildInputs = [ numpy ];
|
||||||
checkPhase = ''
|
|
||||||
nosetests tests/
|
checkInputs = [ pytestCheckHook ];
|
||||||
'';
|
pytestFlagsArray = [ "tests/test_opensimplex.py" ];
|
||||||
pythonImportsCheck = [ "opensimplex" ];
|
pythonImportsCheck = [ "opensimplex" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user