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

25 lines
544 B
Nix
Raw Normal View History

2017-11-07 12:47:24 +00:00
{ stdenv, buildPythonApplication, fetchPypi
, pytest, nose }:
buildPythonApplication rec {
pname = "sybil";
2018-04-06 17:40:43 +01:00
version = "1.0.8";
2017-11-07 12:47:24 +00:00
src = fetchPypi {
inherit pname version;
2018-04-06 17:40:43 +01:00
sha256 = "1e17e10bac4c56ef5b6752866a7d100f5ae856ff97d805c4d6cac73be80863d3";
2017-11-07 12:47:24 +00:00
};
checkInputs = [ pytest nose ];
checkPhase = ''
py.test tests
'';
meta = with stdenv.lib; {
description = "Automated testing for the examples in your documentation.";
homepage = https://github.com/cjw296/sybil/;
license = licenses.mit;
};
}