PythonPackages: add rig + sentinel (#63729)
PythonPackages: add rig + sentinel
This commit is contained in:
commit
6e4633d2cd
29
pkgs/development/python-modules/rig/default.nix
Normal file
29
pkgs/development/python-modules/rig/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
17
pkgs/development/python-modules/sentinel/default.nix
Normal file
17
pkgs/development/python-modules/sentinel/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user