1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5, requests
6}:
7
8buildPythonPackage rec {
9 pname = "asgineer";
10 version = "0.8.1";
11
12 # PyPI tarball doesn't include tests directory
13 src = fetchFromGitHub {
14 owner = "almarklein";
15 repo = pname;
16 rev = "v${version}";
17 sha256 = "0hd1i9pc8m7sc8bkn31q4ygkmnl5vklrcziq9zkdiqaqm8clyhcx";
18 };
19
20 nativeCheckInputs = [
21 pytestCheckHook
22 requests
23 ];
24
25 meta = with lib; {
26 description = "A really thin ASGI web framework";
27 license = licenses.bsd2;
28 homepage = "https://asgineer.readthedocs.io";
29 maintainers = [ maintainers.matthiasbeyer ];
30 };
31}
32