diff --git a/pkgs/development/python-modules/rig/default.nix b/pkgs/development/python-modules/rig/default.nix new file mode 100644 index 00000000000..d83afd7885f --- /dev/null +++ b/pkgs/development/python-modules/rig/default.nix @@ -0,0 +1,29 @@ +{ lib, buildPythonPackage, fetchPypi +, isPy34, isPy35, isPy27 +, 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. + disabled = !(isPy35 || isPy34 || isPy27); + + # 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; + }; +} diff --git a/pkgs/development/python-modules/sentinel/default.nix b/pkgs/development/python-modules/sentinel/default.nix new file mode 100644 index 00000000000..e8ed047e03f --- /dev/null +++ b/pkgs/development/python-modules/sentinel/default.nix @@ -0,0 +1,17 @@ +{ lib, buildPythonPackage, fetchPypi}: + +buildPythonPackage rec { + pname = "sentinel"; + version = "0.1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "c00ba2a4f240ea4c5414059a696d6e128730272cb2c631b2eff42e86da1f89b3"; + }; + + meta = with lib; { + description = "Create sentinel and singleton objects"; + homepage = "https://github.com/eddieantonio/sentinel"; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5400438d7dc..c38f1a74044 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -917,6 +917,8 @@ in { pyzufall = callPackage ../development/python-modules/pyzufall { }; + rig = callPackage ../development/python-modules/rig { }; + rhpl = disabledIf isPy3k (callPackage ../development/python-modules/rhpl {}); rlp = callPackage ../development/python-modules/rlp { }; @@ -931,6 +933,8 @@ in { selectors2 = callPackage ../development/python-modules/selectors2 { }; + sentinel = callPackage ../development/python-modules/sentinel { }; + sentry-sdk = callPackage ../development/python-modules/sentry-sdk {}; sepaxml = callPackage ../development/python-modules/sepaxml { };