nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 96dafc199deb311543615fee6722d8a3ec8e0b1f
parent 3aeab3b8e190f947cb8efe1269319706cf75e994
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Tue, 23 Apr 2024 21:17:12 +0400

Add rhttp

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/rhttp/default.nix | 23+++++++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -402,6 +402,7 @@ lib.makeScope newScope ( qasync = callPackage ./misc/qasync { }; qoiview = callPackage ./misc/qoiview { }; repolocli = callPackage ./misc/repolocli { }; + rhttp = callPackage ./misc/rhttp { }; riffraff = callPackage ./misc/riffraff { }; rst2txt = callPackage ./misc/rst2txt { }; sdorfehs = callPackage ./misc/sdorfehs { }; diff --git a/pkgs/misc/rhttp/default.nix b/pkgs/misc/rhttp/default.nix @@ -0,0 +1,23 @@ +{ lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "rhttp"; + version = "0-unnstable-2024-04-22"; + + src = fetchFromGitHub { + owner = "1buran"; + repo = "rHttp"; + rev = "783b7a8cc4a210963a1cab6c502c2515054d66ba"; + hash = "sha256-ZirlRBKQq0lUP4STHYWRd/A5joFLTFXikhqttRiYZ8g="; + }; + + vendorHash = "sha256-NR1q44IUSME+x1EOcnXXRoIXw8Av0uH7iXhD+cdd99I="; + + meta = with lib; { + description = "REPL for HTTP"; + inherit (src.meta) homepage; + license = licenses.agpl3Only; + maintainers = [ maintainers.sikmir ]; + mainProgram = "rhttp"; + }; +}