Files
nixpkgs/pkgs/development/python-modules/asgineer/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

39 lines
790 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
requests,
flit-core,
}:
buildPythonPackage rec {
pname = "asgineer";
version = "0.9.5";
pyproject = true;
src = fetchFromGitHub {
owner = "almarklein";
repo = "asgineer";
tag = "v${version}";
hash = "sha256-8qI5eHt+UmQGZNCn12Iup9dIVd+aI6r3Z1R+u+SziMc=";
};
build-system = [ flit-core ];
nativeCheckInputs = [
pytestCheckHook
requests
];
pythonImportsCheck = [ "asgineer" ];
meta = {
description = "Really thin ASGI web framework";
homepage = "https://asgineer.readthedocs.io";
changelog = "https://github.com/almarklein/asgineer/releases/tag/v${src.tag}";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ matthiasbeyer ];
};
}