python313Packages.pook: refactor

Changed files
+4 -7
pkgs
development
python-modules
+4 -7
pkgs/development/python-modules/pook/default.nix
···
pytest-httpbin,
pytest-pook,
pytestCheckHook,
-
pythonOlder,
xmltodict,
}:
···
version = "2.1.4";
pyproject = true;
-
disabled = pythonOlder "3.8";
-
src = fetchFromGitHub {
owner = "h2non";
repo = "pook";
···
hash = "sha256-z0QaMdsX2xLXICgQwnlUD2KsgCn0jB4wO83+6O4B3D8=";
};
-
nativeBuildInputs = [ hatchling ];
+
build-system = [ hatchling ];
-
propagatedBuildInputs = [
+
dependencies = [
furl
jsonschema
xmltodict
···
meta = with lib; {
description = "HTTP traffic mocking and testing";
homepage = "https://github.com/h2non/pook";
-
changelog = "https://github.com/h2non/pook/blob/v${version}/History.rst";
-
license = with licenses; [ mit ];
+
changelog = "https://github.com/h2non/pook/blob/v${src.tag}/History.rst";
+
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}