mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 09:36:32 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
33 lines
672 B
Nix
33 lines
672 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytest,
|
|
pytestCheckHook,
|
|
pytest-flakes,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-quickcheck";
|
|
version = "0.9.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-UFF8ldnaImXU6al4kGjf720mbwXE6Nut9VlvNVrMVoY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pytest ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-flakes
|
|
];
|
|
|
|
meta = {
|
|
license = lib.licenses.asl20;
|
|
homepage = "https://pypi.python.org/pypi/pytest-quickcheck";
|
|
description = "Pytest plugin to generate random data inspired by QuickCheck";
|
|
maintainers = with lib.maintainers; [ onny ];
|
|
};
|
|
}
|