nixpkgs/pkgs/development/python-modules/poetry-semver/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

25 lines
526 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "poetry-semver";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-2Am2Eqons5vy0PydMbT0gJsOlyZGxfGc+kbHJbdjiBA=";
};
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "A semantic versioning library for Python.";
homepage = "https://github.com/python-poetry/semver";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud ];
};
}