nixpkgs/pkgs/development/python-modules/sanic-routing/default.nix
Jonathan Ringer ea6b4e6557
Revert "python3Packages.sanic-routing: 0.7.2 -> 21.12.0"
The `sanic` package doesn't yet support this

This reverts commit 45e8b6f936.
2022-02-05 17:05:05 -08:00

28 lines
672 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "sanic-routing";
version = "0.7.2";
src = fetchFromGitHub {
owner = "sanic-org";
repo = "sanic-routing";
rev = "v${version}";
hash = "sha256-MN6A8CtDVxj34eehr3UIwCT09VOfcruVX+/iImr1MgY=";
};
checkInputs = [ pytestCheckHook pytest-asyncio ];
pythonImportsCheck = [ "sanic_routing" ];
meta = with lib; {
description = "Core routing component for the Sanic web framework";
homepage = "https://github.com/sanic-org/sanic-routing";
license = licenses.mit;
maintainers = with maintainers; [ AluisioASG ];
};
}