depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-fixture-config/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

39 lines
905 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-git,
pytest,
}:
buildPythonPackage rec {
pname = "pytest-fixture-config";
version = "1.7.1-unstable-2022-10-03";
pyproject = true;
src = fetchFromGitHub {
owner = "man-group";
repo = "pytest-plugins";
rev = "5f9b88a65a8c1e506885352bbd9b2a47900f5014";
hash = "sha256-huN3RzwtfVf4iMJ96VRP/ldOxTUlUMF1wJIdbcGXHn4=";
};
sourceRoot = "${src.name}/pytest-fixture-config";
nativeBuildInputs = [
setuptools
setuptools-git
];
buildInputs = [ pytest ];
doCheck = false;
meta = with lib; {
description = "Simple configuration objects for Py.test fixtures. Allows you to skip tests when their required config variables arent set.";
homepage = "https://github.com/manahl/pytest-plugins";
license = licenses.mit;
maintainers = with maintainers; [ ryansydnor ];
};
}