6ae7ad3cc5
GitOrigin-RevId: a322b32e9d74fb476944ff6cfb55833dc69cfaaa
29 lines
788 B
Nix
29 lines
788 B
Nix
{ stdenv, lib, pkgconfig, openssl, fetchFromGitHub, rustPlatform, darwin }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "hydra-cli";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nlewo";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1fd3swdjx249971ak1bgndm5kh6rlzbfywmydn122lhfi6ry6a03";
|
|
};
|
|
cargoSha256 = "1fjzcgayyha270bdxl5p6c337nq8zj4h81rk4ih9czyz3yaxga3f";
|
|
|
|
buildInputs = [ openssl ]
|
|
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A client for the Hydra CI";
|
|
homepage = "https://github.com/nlewo/hydra-cli";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ gilligan lewo ];
|
|
};
|
|
|
|
}
|