2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2020-05-15 21:57:56 +00:00
|
|
|
, isPy35, isPy27
|
2020-04-24 23:36:52 +00: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-15 21:57:56 +00:00
|
|
|
disabled = !(isPy27 || isPy35);
|
2020-04-24 23:36:52 +00: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;
|
|
|
|
};
|
|
|
|
}
|