Loading pkgs/development/python-modules/pyhamcrest/default.nix +16 −10 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , hatchling , hatch-vcs , hatchling , numpy , pythonOlder , pytest-xdist , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "pyhamcrest"; version = "2.0.4"; format = "pyproject"; disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "hamcrest"; Loading @@ -22,11 +23,9 @@ buildPythonPackage rec { hash = "sha256-CIkttiijbJCR0zdmwM5JvFogQKYuHUXHJhdyWonHcGk="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ hatchling hatch-vcs hatchling ]; checkInputs = [ Loading @@ -35,12 +34,19 @@ buildPythonPackage rec { pytestCheckHook ]; postPatch = '' substituteInPlace pyproject.toml \ --replace 'dynamic = ["version"]' 'version = "${version}"' ''; pythonImportsCheck = [ "hamcrest" ]; meta = with lib; { homepage = "https://github.com/hamcrest/PyHamcrest"; description = "Hamcrest framework for matcher objects"; homepage = "https://github.com/hamcrest/PyHamcrest"; license = licenses.bsd3; maintainers = with maintainers; [ alunduil ]; maintainers = with maintainers; [ alunduil ]; }; } Loading
pkgs/development/python-modules/pyhamcrest/default.nix +16 −10 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , hatchling , hatch-vcs , hatchling , numpy , pythonOlder , pytest-xdist , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "pyhamcrest"; version = "2.0.4"; format = "pyproject"; disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "hamcrest"; Loading @@ -22,11 +23,9 @@ buildPythonPackage rec { hash = "sha256-CIkttiijbJCR0zdmwM5JvFogQKYuHUXHJhdyWonHcGk="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ hatchling hatch-vcs hatchling ]; checkInputs = [ Loading @@ -35,12 +34,19 @@ buildPythonPackage rec { pytestCheckHook ]; postPatch = '' substituteInPlace pyproject.toml \ --replace 'dynamic = ["version"]' 'version = "${version}"' ''; pythonImportsCheck = [ "hamcrest" ]; meta = with lib; { homepage = "https://github.com/hamcrest/PyHamcrest"; description = "Hamcrest framework for matcher objects"; homepage = "https://github.com/hamcrest/PyHamcrest"; license = licenses.bsd3; maintainers = with maintainers; [ alunduil ]; maintainers = with maintainers; [ alunduil ]; }; }