mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
0a7c50e0e0
This might be related to the way cargo fetches sources since the old hash still works on the original PR (before being rebased onto master by the merge action). See - https://github.com/NixOS/nixpkgs/pull/67680 - https://hydra.nixos.org/build/102205464/nixlog/2
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 = "11y82np52f7lgfzhzs24kkawcfzzc6070x4rj5d6iv5csf6c03ny";
|
|
|
|
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;
|
|
};
|
|
|
|
}
|