atac: init at 0.11.3

This commit is contained in:
Vinny Meller 2024-04-16 11:32:09 -04:00
parent 3ad65e9f48
commit 2620385789
No known key found for this signature in database
GPG Key ID: 36CBEC89D5C8540C
1 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
oniguruma,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "atac";
version = "0.11.3";
src = fetchFromGitHub {
owner = "Julien-cpsn";
repo = "ATAC";
rev = "v${version}";
hash = "sha256-nYPqj3Wa5itw83s08qsEu30v/2NwkLwGE0LlNY9Msok=";
};
cargoHash = "sha256-Beh5out4Ess+FP+Dg601ZqyXotEfujqNX16Vupp5WRc=";
nativeBuildInputs = [
pkg-config
];
buildInputs =
[
oniguruma
]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
env = {
RUSTONIG_SYSTEM_LIBONIG = true;
};
meta = with lib; {
description = "A simple API client (postman like) in your terminal";
homepage = "https://github.com/Julien-cpsn/ATAC";
license = licenses.mit;
maintainers = with maintainers; [vinnymeller];
mainProgram = "atac";
};
}