mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 05:44:13 +00:00
b41a2fe200
Diff: https://github.com/cjrh/aiorun/compare/refs/tags/v2023.7.2...v2024.5.1 Changelog: https://github.com/cjrh/aiorun/blob/v2024.5.1/CHANGES
49 lines
894 B
Nix
49 lines
894 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
flit-core,
|
|
pygments,
|
|
pytestCheckHook,
|
|
uvloop,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiorun";
|
|
version = "2024.5.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cjrh";
|
|
repo = "aiorun";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-7wgsj44sX2Be/QyvG7KgQ/xSgsr+WPh7eeROeICSHGw=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
dependencies = [ pygments ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
uvloop
|
|
];
|
|
|
|
preBuild = ''
|
|
export HOME=$TMPDIR
|
|
'';
|
|
|
|
pythonImportsCheck = [ "aiorun" ];
|
|
|
|
meta = with lib; {
|
|
description = "Boilerplate for asyncio applications";
|
|
homepage = "https://github.com/cjrh/aiorun";
|
|
changelog = "https://github.com/cjrh/aiorun/blob/v${version}/CHANGES";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|