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

29 lines
528 B
Nix
Raw Normal View History

2020-03-03 01:20:00 -08:00
{ lib
, buildPythonApplication
, fetchPypi
, pytest
, nose
}:
2017-11-07 04:47:24 -08:00
buildPythonApplication rec {
2020-03-03 01:20:00 -08:00
pname = "sybil";
2021-02-20 01:09:18 -08:00
version = "2.0.1";
2017-11-07 04:47:24 -08:00
src = fetchPypi {
inherit pname version;
2021-02-20 01:09:18 -08:00
sha256 = "597d71e246690b9223c132f0ed7dcac470dcbe9ad022004a801e108a00dc3524";
2017-11-07 04:47:24 -08:00
};
checkInputs = [ pytest nose ];
checkPhase = ''
py.test tests
'';
2020-03-03 01:20:00 -08:00
meta = with lib; {
description = "Automated testing for the examples in your documentation";
homepage = "https://github.com/cjw296/sybil";
license = licenses.mit;
2017-11-07 04:47:24 -08:00
};
}