@@ -0,0 +1,29 @@
1+{ lib, buildPythonPackage, fetchPypi
2+, isPy34, isPy35, isPy27
3+, numpy, pytz, six, enum-compat, sentinel
4+}:
5+
6+buildPythonPackage rec {
7+ pname = "rig";
8+ version = "2.4.1";
9+
10+ src = fetchPypi {
11+ inherit pname version;
12+ sha256 = "5a3896dbde3f291c5dd34769e7329ef5d5e4da34fee53479bd13dc5e5d540b8a";
13+ };
14+
15+ propagatedBuildInputs = [ numpy pytz six sentinel enum-compat ];
16+
17+ # This is the list of officially supported versions. Other versions may work
18+ # as well.
19+ disabled = !(isPy35 || isPy34 || isPy27);
20+
21+ # Test Phase is only supported in development sources.
22+ doCheck = false;
23+
24+ meta = with lib; {
25+ description = "A collection of tools for developing SpiNNaker applications";
26+ homepage = "https://github.com/project-rig/rig";
27+ license = licenses.gpl2;
28+ };
29+}