nixos-config/pkgs/software-heritage/swh-web-client.nix

31 lines
629 B
Nix
Raw Permalink Normal View History

2022-08-10 10:32:49 +00:00
{ lib, python3Packages, swh-core, swh-model, swh-auth, ... }:
with python3Packages;
buildPythonPackage rec {
pname = "swh-web-client";
2023-08-18 09:21:35 +00:00
version = "0.6.0";
2022-08-10 10:32:49 +00:00
src = fetchPypi {
inherit version;
pname = "swh.web.client";
2023-08-18 09:21:35 +00:00
sha256 = "sha256-o1FcJh3nmGXWZABRQQUj3qgDPaHXwfazaBv8f3LENpk=";
2022-08-10 10:32:49 +00:00
};
doCheck = false;
propagatedBuildInputs = [
python-dateutil
2022-08-10 10:32:49 +00:00
click
requests
swh-core
swh-model
swh-auth
];
meta = with lib; {
description = "Software Heritage web client";
homepage = "https://forge.softwareheritage.org/source/swh-web-client/";
license = licenses.gpl3Only;
};
}