2019-06-24 13:13:14 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2020-05-04 19:32:01 +01:00
|
|
|
, isPy35, isPy27
|
2019-06-24 13:13:14 +01:00
|
|
|
, numpy, pytz, six, enum-compat, sentinel
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rig";
|
|
|
|
version = "2.4.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "5a3896dbde3f291c5dd34769e7329ef5d5e4da34fee53479bd13dc5e5d540b8a";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy pytz six sentinel enum-compat ];
|
|
|
|
|
|
|
|
# This is the list of officially supported versions. Other versions may work
|
|
|
|
# as well.
|
2020-05-04 19:32:01 +01:00
|
|
|
disabled = !(isPy27 || isPy35);
|
2019-06-24 13:13:14 +01:00
|
|
|
|
|
|
|
# Test Phase is only supported in development sources.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A collection of tools for developing SpiNNaker applications";
|
|
|
|
homepage = "https://github.com/project-rig/rig";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|