From accbb5e70ca9ec8908c6a7c4940983ec661e52ee Mon Sep 17 00:00:00 2001 From: eymeric Date: Sat, 24 Feb 2024 19:28:45 +0100 Subject: [PATCH] httpy-cli: init at 1.1.0 --- pkgs/by-name/ht/httpy-cli/package.nix | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/by-name/ht/httpy-cli/package.nix diff --git a/pkgs/by-name/ht/httpy-cli/package.nix b/pkgs/by-name/ht/httpy-cli/package.nix new file mode 100644 index 000000000000000..5f530e5b82166f0 --- /dev/null +++ b/pkgs/by-name/ht/httpy-cli/package.nix @@ -0,0 +1,30 @@ +{ lib +, python3Packages +, fetchPypi + }: + +python3Packages.buildPythonPackage rec { + pname = "httpy-cli"; + version = "1.1.0"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-uhF/jF4buHMDiXOuuqjskynioz4qVBevQhdcUbH+91Q="; + }; + + propagatedBuildInputs = with python3Packages; [ + colorama + pygments + requests + urllib3 + ]; + + meta = with lib; { + description = "Modern, user-friendly, programmable command-line HTTP client for the API"; + homepage = "https://github.com/knid/httpy"; + mainProgram = "httpy"; + license = licenses.mit; + maintainers = with maintainers; [ eymeric ]; + }; +}