pythonPackages.signalslot: init at 0.1.2
This commit is contained in:
parent
7a6755b91a
commit
c7094d2c9c
48
pkgs/development/python-modules/signalslot/default.nix
Normal file
48
pkgs/development/python-modules/signalslot/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, contexter
|
||||
, eventlet
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, six
|
||||
, weakrefmethod
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "signalslot";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Z26RPNau+4719e82jMhb2LyIR6EvsANI8r3+eKuw494=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
contexter
|
||||
six
|
||||
weakrefmethod
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
eventlet
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "signalslot" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--pep8 --cov" "" \
|
||||
--replace "--cov-report html" ""
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple Signal/Slot implementation";
|
||||
homepage = "https://github.com/numergy/signalslot";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ myaats ];
|
||||
};
|
||||
}
|
@ -10225,6 +10225,8 @@ self: super: with self; {
|
||||
|
||||
sievelib = callPackage ../development/python-modules/sievelib { };
|
||||
|
||||
signalslot = callPackage ../development/python-modules/signalslot { };
|
||||
|
||||
signedjson = callPackage ../development/python-modules/signedjson { };
|
||||
|
||||
sigrok = callPackage ../development/python-modules/sigrok { };
|
||||
|
Loading…
Reference in New Issue
Block a user