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 { 11 pname = "pytest-fixture-config"; 12 version = "1.7.1-unstable-2022-10-03"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "man-group"; 17 repo = "pytest-plugins"; 18 rev = "5f9b88a65a8c1e506885352bbd9b2a47900f5014"; 19 hash = "sha256-huN3RzwtfVf4iMJ96VRP/ldOxTUlUMF1wJIdbcGXHn4="; 20 }; 21 22 patches = [ ./setuptools-72.0-compat.patch ]; 23 24 postPatch = '' 25 cd pytest-fixture-config 26 ''; 27 28 nativeBuildInputs = [ 29 setuptools 30 setuptools-git 31 ]; 32 33 buildInputs = [ pytest ]; 34 35 doCheck = false; 36 37 meta = with lib; { 38 description = "Simple configuration objects for Py.test fixtures. Allows you to skip tests when their required config variables arent set"; 39 homepage = "https://github.com/manahl/pytest-plugins"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ ryansydnor ]; 42 }; 43}