nixpkgs/pkgs/by-name/at/atac/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
773 B
Nix
Raw Normal View History

2024-04-16 15:32:09 +00:00
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
oniguruma,
}:
rustPlatform.buildRustPackage rec {
pname = "atac";
2024-08-25 09:27:58 +00:00
version = "0.18.0";
2024-04-16 15:32:09 +00:00
src = fetchFromGitHub {
owner = "Julien-cpsn";
repo = "ATAC";
rev = "v${version}";
2024-08-25 09:27:58 +00:00
hash = "sha256-FSZGpV+dREwjst84TT1aBm/H+VqkjI8XDPo3usJ7UeI=";
2024-04-16 15:32:09 +00:00
};
2024-08-25 09:27:58 +00:00
cargoHash = "sha256-sNgtqvFiwHSYMDf0379i8Yl9NrkCRVLo/ogjbHFgKBY=";
2024-04-16 15:32:09 +00:00
nativeBuildInputs = [ pkg-config ];
2024-04-16 15:32:09 +00:00
buildInputs = [ oniguruma ];
2024-04-16 15:32:09 +00:00
env = {
RUSTONIG_SYSTEM_LIBONIG = true;
};
meta = with lib; {
description = "Simple API client (postman like) in your terminal";
homepage = "https://github.com/Julien-cpsn/ATAC";
license = licenses.mit;
maintainers = with maintainers; [ vinnymeller ];
2024-04-16 15:32:09 +00:00
mainProgram = "atac";
};
}