mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
swh-core: init at 2.13.1
This commit is contained in:
parent
44f31c7151
commit
76f41087cb
48
pkgs/software-heritage/swh-core.nix
Normal file
48
pkgs/software-heritage/swh-core.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user