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

29 lines
516 B
Nix
Raw Normal View History

2020-03-03 10:20:00 +01:00
{ lib
, buildPythonApplication
, fetchPypi
, pytest
, nose
}:
2017-11-07 13:47:24 +01:00
buildPythonApplication rec {
2020-03-03 10:20:00 +01:00
pname = "sybil";
2020-04-01 07:38:58 +02:00
version = "1.3.0";
2017-11-07 13:47:24 +01:00
src = fetchPypi {
inherit pname version;
2020-04-01 07:38:58 +02:00
sha256 = "0x34mzxvxj1kkld7sz9n90pdcinxcan56jg6cnnwkv87v7s1vna6";
2017-11-07 13:47:24 +01:00
};
checkInputs = [ pytest nose ];
checkPhase = ''
py.test tests
'';
2020-03-03 10:20:00 +01: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 13:47:24 +01:00
};
}