nixos-config/pkgs/software-heritage/aiohttp-utils.nix

28 lines
568 B
Nix

{ stdenv, lib, python3Packages, ... }:
with python3Packages;
buildPythonPackage rec {
pname = "aiohttp-utils";
version = "3.2.1";
src = fetchPypi {
inherit version;
pname = "aiohttp-utils";
sha256 = "sha256-UJWcQ68aXvgwvHrWLB6NgFlGpB51VhFpSHvPuJq1IDw=";
};
doCheck = false;
propagatedBuildInputs = [
aiohttp
gunicorn
python-mimeparse
];
meta = with lib; {
homepage = "https://github.com/sloria/aiohttp-utils";
description = "Provides utilities for building aiohttp applications";
license = licenses.mit;
};
}