nixpkgs/pkgs/development/python-modules/sybil/default.nix
2022-02-25 21:23:06 +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; [ ];
};
}