summary refs log tree commit diff
path: root/pkgs/development/python-modules/pydispatcher/default.nix
blob: d132fad7313800c87eb8184d68aa4d2be157e12c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:

buildPythonPackage rec {
  version = "2.0.5";
  pname = "pydispatcher";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1bswbmhlbqdxlgbxlb6xrlm4k253sg8nvpl1whgsys8p3fg0cw2m";
  };

  checkInputs = [ pytest ];

  checkPhase = ''
    py.test
  '';

  meta = with lib; {
    homepage = "http://pydispatcher.sourceforge.net/";
    description = "Signal-registration and routing infrastructure for use in multiple contexts";
    license = licenses.bsd3;
  };

}