mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +00:00
32 lines
801 B
Nix
32 lines
801 B
Nix
{ stdenv, lib, pkgconfig, openssl, fetchFromGitHub, rustPlatform, darwin }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "hydra-cli";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nlewo";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1jdlmc45hwblcxs6hvy3gi2dr7qyzs1sg5zr26jrpxrbvqqzrdhc";
|
|
};
|
|
|
|
cargoSha256 = "0dqj2pdqfbgg8r3h2s07p3m9zgl9xl4vislbqs6a0f1ahrczlda5";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
openssl
|
|
];
|
|
|
|
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 ];
|
|
platforms = platforms.all;
|
|
};
|
|
|
|
}
|