Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build 7 pytest, 8 9 # tests 10 pytestCheckHook, 11}: 12 13let 14 pname = "pytest-describe"; 15 version = "2.2.0"; 16in 17buildPythonPackage { 18 inherit pname version; 19 format = "setuptools"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-ObsF65DySX2co0Lvmgt/pbraflhQWuwz9m1mHWMZVbc="; 24 }; 25 26 buildInputs = [ pytest ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 meta = with lib; { 31 description = "Describe-style plugin for the pytest framework"; 32 homepage = "https://github.com/pytest-dev/pytest-describe"; 33 changelog = "https://github.com/pytest-dev/pytest-describe/releases/tag/${version}"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ hexa ]; 36 }; 37}