mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 02:14:08 +00:00
4ee56c1b35
https://github.com/pytest-dev/pytest-describe/releases/tag/2.0.2 https://github.com/pytest-dev/pytest-describe/releases/tag/2.1.0
41 lines
744 B
Nix
41 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 ];
|
|
};
|
|
}
|