summary refs log tree commit diff
path: root/pkgs/development/python-modules/backcall/default.nix
blob: f1951a13d78df74bd1e1c54798f76e8a63aadf21 (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
, buildPythonPackage
, fetchPypi
, pytest
}:

buildPythonPackage rec {
  pname = "backcall";
  version = "0.1.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4";
  };

  checkInputs = [ pytest ];

  checkPhase = ''
    py.test
  '';

  meta = {
    description = "Specifications for callback functions passed in to an API";
    homepage = "https://github.com/takluyver/backcall";
    license = lib.licenses.bsd3;
  };

}