hop-cli: init at 0.2.35
This commit is contained in:
parent
2ce9b9842b
commit
9c66acbc34
44
pkgs/tools/admin/hop-cli/default.nix
Normal file
44
pkgs/tools/admin/hop-cli/default.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
|
, stdenv
|
||||||
|
, CoreServices
|
||||||
|
, Security
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "hop-cli";
|
||||||
|
version = "0.2.35";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "hopinc";
|
||||||
|
repo = "cli";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-TgPEcsv7/n+PzZXazozbgmX2tt4WDvyH3j6rY+M0AGE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-HEUsyboZQ4j5IEOqiWEBSlJqmaNDHPg1kstnM9AgZBo=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
CoreServices Security
|
||||||
|
];
|
||||||
|
|
||||||
|
OPENSSL_NO_VENDOR = 1;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
mainProgram = "hop";
|
||||||
|
description = "Interact with Hop in your terminal";
|
||||||
|
homepage = "https://github.com/hopinc/cli";
|
||||||
|
changelog = "https://github.com/hopinc/cli/releases/tag/v${version}";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
maintainers = with maintainers; [ techknowlogick ];
|
||||||
|
};
|
||||||
|
}
|
@ -15087,6 +15087,10 @@ with pkgs;
|
|||||||
|
|
||||||
hop = callPackage ../development/compilers/hop { };
|
hop = callPackage ../development/compilers/hop { };
|
||||||
|
|
||||||
|
hop-cli = callPackage ../tools/admin/hop-cli {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
||||||
|
};
|
||||||
|
|
||||||
falcon = callPackage ../development/interpreters/falcon {
|
falcon = callPackage ../development/interpreters/falcon {
|
||||||
stdenv = gcc10Stdenv;
|
stdenv = gcc10Stdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user