swh-core: init at 2.13.1

This commit is contained in:
Gabriel Arazas 2022-08-10 18:32:02 +08:00
parent 44f31c7151
commit 76f41087cb

View File

@ -0,0 +1,48 @@
{ stdenv, lib, python3Packages, aiohttp-utils, ... }:
with python3Packages;
buildPythonPackage rec {
pname = "swh-core";
version = "2.13.1";
src = fetchPypi {
inherit version;
pname = "swh.core";
sha256 = "sha256-na1S2jiRGlIOPpJ1H4Cp9+naK7bTuH6s2nmeo1xQXjQ=";
};
# Tests require network access.
doCheck = false;
propagatedBuildInputs = [
click
deprecated
pyyaml
python-magic
sentry-sdk
# swh.core.db
psycopg2
typing-extensions
# swh.core.github
tenacity
requests
# swh.core.api
aiohttp
aiohttp-utils
blinker
flask
iso8601
msgpack
setuptools-scm
];
meta = with lib; {
description = "Software Heritage filesystem";
homepage = "https://www.softwareheritage.org/";
license = licenses.gpl3Only;
};
}