a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
32 lines
640 B
Nix
32 lines
640 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asgineer";
|
|
version = "0.8.1";
|
|
|
|
# PyPI tarball doesn't include tests directory
|
|
src = fetchFromGitHub {
|
|
owner = "almarklein";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0hd1i9pc8m7sc8bkn31q4ygkmnl5vklrcziq9zkdiqaqm8clyhcx";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
requests
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A really thin ASGI web framework";
|
|
license = licenses.bsd2;
|
|
homepage = "https://asgineer.readthedocs.io";
|
|
maintainers = [ maintainers.matthiasbeyer ];
|
|
};
|
|
}
|
|
|