depot/third_party/nixpkgs/pkgs/development/python-modules/sybil/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

40 lines
751 B
Nix

{ lib
, buildPythonApplication
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonApplication rec {
pname = "sybil";
version = "3.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-dpLtZueT5eea5qcM8s+GGRftSOr/DYrfgl5k2Fgg8lE=";
};
checkInputs = [
pytestCheckHook
];
disabledTests = [
# sensitive to output of other commands
"test_namespace"
"test_unittest"
];
pythonImportsCheck = [
"sybil"
];
meta = with lib; {
description = "Automated testing for the examples in your documentation";
homepage = "https://github.com/cjw296/sybil";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}