nur-packages

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

commit 8d5e8a3925d46b440fe9b1a4ffcce13c2a0efe0e
parent b927cff077fb50419d4e2e9eb5bf507745f1a644
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Tue,  9 Feb 2021 21:00:57 +0300

Add ht

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/ht/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -235,6 +235,7 @@ lib.makeScope newScope ( ascii-dash = callPackage ./misc/ascii-dash { }; cfiles = callPackage ./misc/cfiles { }; docker-reg-tool = callPackage ./misc/docker-reg-tool { }; + ht = callPackage ./misc/ht { }; ish = callPackage ./misc/ish { }; morse-talk = callPackage ./misc/morse-talk { }; musig = callPackage ./misc/musig { }; diff --git a/pkgs/misc/ht/default.nix b/pkgs/misc/ht/default.nix @@ -0,0 +1,25 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "ht"; + version = "0.6.0"; + + src = fetchFromGitHub { + owner = "ducaale"; + repo = "ht"; + rev = "v${version}"; + sha256 = "083m1wz8rs5mr1lgvj5rnygv7b5l7ik4m6h666qivm4hci1d4ynh"; + }; + + cargoSha256 = "0cq81hanb4v0i1g22dp5smb00fq03gjm929i25wpm4axvbyhwiva"; + + doCheck = false; + + meta = with lib; { + description = "Yet another HTTPie clone"; + homepage = "https://github.com/ducaale/ht"; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}