From 54e03461ae2acc30b3bcff689e760a9968f6599b Mon Sep 17 00:00:00 2001 From: Gabriel Arazas <foo.dogsquared@gmail.com> Date: Wed, 10 Aug 2022 18:32:49 +0800 Subject: [PATCH] swh-web-client: init at 0.5.0 --- pkgs/software-heritage/swh-web-client.nix | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/software-heritage/swh-web-client.nix diff --git a/pkgs/software-heritage/swh-web-client.nix b/pkgs/software-heritage/swh-web-client.nix new file mode 100644 index 00000000..9048a8e4 --- /dev/null +++ b/pkgs/software-heritage/swh-web-client.nix @@ -0,0 +1,30 @@ +{ lib, python3Packages, swh-core, swh-model, swh-auth, ... }: + +with python3Packages; +buildPythonPackage rec { + pname = "swh-web-client"; + version = "0.5.0"; + + src = fetchPypi { + inherit version; + pname = "swh.web.client"; + sha256 = "sha256-TC3KMMf2lpZA9DuwViu1Osb07eT25K+LyS49jeNZVwA="; + }; + + doCheck = false; + propagatedBuildInputs = [ + dateutil + 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; + }; +}