Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 setuptools-git, 7 pytest, 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-fixture-config"; 12 version = "1.8.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "man-group"; 17 repo = "pytest-plugins"; 18 tag = "v${version}"; 19 hash = "sha256-fLctuuvHVk9GvQB5cTL4/T7GeWzJ2zLJpwZqq9/6C30="; 20 }; 21 22 postPatch = '' 23 cd pytest-fixture-config 24 ''; 25 26 nativeBuildInputs = [ 27 setuptools 28 setuptools-git 29 ]; 30 31 buildInputs = [ pytest ]; 32 33 doCheck = false; 34 35 meta = with lib; { 36 changelog = "https://github.com/man-group/pytest-plugins/blob/${src.tag}/CHANGES.md"; 37 description = "Simple configuration objects for Py.test fixtures. Allows you to skip tests when their required config variables arent set"; 38 homepage = "https://github.com/manahl/pytest-plugins"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ ryansydnor ]; 41 }; 42}