python3Packages.http-message-signatures: use pyproject, unbreak

https://hydra.nixos.org/build/305645816

Changed files
+8 -6
pkgs
development
python-modules
http-message-signatures
+8 -6
pkgs/development/python-modules/http-message-signatures/default.nix
···
buildPythonPackage,
cryptography,
fetchFromGitHub,
-
http-sfv,
pytestCheckHook,
pythonOlder,
-
setuptools-scm,
+
hatchling,
+
hatch-vcs,
requests,
}:
buildPythonPackage rec {
pname = "http-message-signatures";
version = "1.0.0";
-
format = "setuptools";
+
pyproject = true;
-
disabled = pythonOlder "3.7";
+
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "pyauth";
···
hash = "sha256-vPZeAS3hR7Bmj2FtME+V9WU3TViBndrBb9GLkdMVh2Q=";
};
-
nativeBuildInputs = [ setuptools-scm ];
+
build-system = [
+
hatchling
+
hatch-vcs
+
];
propagatedBuildInputs = [
cryptography
-
http-sfv
];
nativeCheckInputs = [