depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-describe/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

40 lines
744 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
# build
, pytest
# tests
, pytestCheckHook
}:
let
pname = "pytest-describe";
version = "2.1.0";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-BjDJWsSUKrjc2OdmI2+GQ2tJhIltsMBZ/CNP72b+lzI=";
};
buildInputs = [
pytest
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Describe-style plugin for the pytest framework";
homepage = "https://github.com/pytest-dev/pytest-describe";
changelog = "https://github.com/pytest-dev/pytest-describe/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}