ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyhamcrest / default.nix
blobffe11cc140b3c4023e51f3002da450182c0b8b88
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , hatchling
5 , hatch-vcs
6 , numpy
7 , pythonOlder
8 , pytest-xdist
9 , pytestCheckHook
12 buildPythonPackage rec {
13   pname = "pyhamcrest";
14   version = "2.0.4";
15   format = "pyproject";
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "hamcrest";
20     repo = "PyHamcrest";
21     rev = "refs/tags/V${version}";
22     hash = "sha256-CIkttiijbJCR0zdmwM5JvFogQKYuHUXHJhdyWonHcGk=";
23   };
25   SETUPTOOLS_SCM_PRETEND_VERSION = version;
27   nativeBuildInputs = [
28     hatchling
29     hatch-vcs
30   ];
32   checkInputs = [
33     numpy
34     pytest-xdist
35     pytestCheckHook
36   ];
38   meta = with lib; {
39     homepage = "https://github.com/hamcrest/PyHamcrest";
40     description = "Hamcrest framework for matcher objects";
41     license = licenses.bsd3;
42     maintainers = with maintainers; [
43       alunduil
44     ];
45   };