nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 703 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatch-vcs, 6 hatchling, 7 pytest, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-env"; 13 version = "1.2.0"; 14 pyproject = true; 15 16 src = fetchPypi { 17 pname = "pytest_env"; 18 inherit version; 19 hash = "sha256-R14uvoYmzuAfSR8wSnSxITd0I5fWx4TqS8JY8GkjK4A="; 20 }; 21 22 nativeBuildInputs = [ 23 hatch-vcs 24 hatchling 25 ]; 26 27 buildInputs = [ pytest ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 meta = { 32 description = "Pytest plugin used to set environment variables"; 33 homepage = "https://github.com/MobileDynasty/pytest-env"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ erikarvstedt ]; 36 }; 37}