1 { buildGoModule, fetchFromGitHub, lib, curlie, testers }:
7 src = fetchFromGitHub {
11 hash = "sha256-YOsq3cB+Pn2eC1Dky3fobBRR7GMxcf/tvWr6i3Vq/BE=";
15 ./bump-golang-x-sys.patch
18 vendorHash = "sha256-VsPdMUfS4UVem6uJgFISfFHQEKtIumDQktHQFPC1muc=";
20 ldflags = [ "-s" "-w" "-X main.version=${version}" ];
22 passthru.tests.version = testers.testVersion {
24 command = "curlie version";
28 description = "Frontend to curl that adds the ease of use of httpie, without compromising on features and performance";
29 homepage = "https://curlie.io/";
30 maintainers = with maintainers; [ ma27 ];
31 license = licenses.mit;
32 mainProgram = "curlie";