depot/third_party/nixpkgs/pkgs/development/python-modules/sybil/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

40 lines
749 B
Nix

{ lib
, buildPythonApplication
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonApplication rec {
pname = "sybil";
version = "3.0.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-bwLcIgSvflohIDeSTZdPcngfbcGP08RMx85GOhIPUw0=";
};
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; [ ];
};
}