Merge pull request #167258 from terlar/update-curlie

curlie: 1.6.7 -> 1.6.9
This commit is contained in:
Maximilian Bosch 2022-04-08 08:44:47 +02:00 committed by GitHub
commit b63eab19da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,27 @@
{ buildGoModule, fetchFromGitHub, lib }:
{ buildGoModule, fetchFromGitHub, lib, curlie, testVersion }:
buildGoModule rec {
pname = "curlie";
version = "1.6.7";
version = "1.6.9";
src= fetchFromGitHub {
src = fetchFromGitHub {
owner = "rs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-uWLJWhsqJaLji2JSuVX8Vu929AdozhtAPwsqXdpEt84=";
hash = "sha256-3EKxuEpFm+lp2myMfymYYY9boSXGOF2iAdjtGKnjJK0=";
};
vendorSha256 = "sha256-tYZtnD7RUurhl8yccXlTIvOxybBJITM+it1ollYJ1OI=";
doCheck = false;
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
passthru.tests.version = testVersion {
package = curlie;
command = "curlie version";
};
meta = with lib; {
description = "Frontend to curl that adds the ease of use of httpie, without compromising on features and performance";
homepage = "https://curlie.io/";