mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
87419823ad
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Suggested-by: Joachim Ernst <mail-maintainer@0x4A6F.dev>
33 lines
634 B
Nix
33 lines
634 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";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
requests
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A really thin ASGI web framework";
|
|
license = licenses.bsd2;
|
|
homepage = "https://asgineer.readthedocs.io";
|
|
maintainers = [ maintainers.matthiasbeyer ];
|
|
};
|
|
}
|
|
|