nixpkgs/pkgs/development/python-modules/backcall/default.nix

29 lines
508 B
Nix
Raw Normal View History

2018-04-05 18:53:45 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "backcall";
2020-08-16 17:30:53 +00:00
version = "0.2.0";
2018-04-05 18:53:45 +00:00
src = fetchPypi {
inherit pname version;
2020-08-16 17:30:53 +00:00
sha256 = "5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e";
2018-04-05 18:53:45 +00:00
};
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = {
description = "Specifications for callback functions passed in to an API";
homepage = "https://github.com/takluyver/backcall";
2018-04-05 18:53:45 +00:00
license = lib.licenses.bsd3;
};
}