Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / asgineer / default.nix
blob2559cda2a018c0ae9f593dd23707cca1c8a7247c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , requests
6 }:
8 buildPythonPackage rec {
9   pname = "asgineer";
10   version = "0.8.1";
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   };
20   nativeCheckInputs = [
21     pytestCheckHook
22     requests
23   ];
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   };